Skip to content

support lud21

support lud21 #58

Workflow file for this run

name: 'Publish application'
on:
# Run the build for pushes and pull requests targeting master
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the code
- uses: actions/checkout@v2
# Install .NET Core SDK
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
# Run tests
- name: Test
run: dotnet test
- name: Publish NuGet
if: ${{ github.ref == 'refs/heads/master' }} # Publish only when the push is on master
uses: Rebel028/publish-nuget@v2.7.0
with:
PROJECT_FILE_PATH: LNURL/LNURL.csproj
NUGET_KEY: ${{secrets.NUGET_KEY}}
PACKAGE_NAME: LNURL
INCLUDE_SYMBOLS: false
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$
TAG_COMMIT: true
TAG_FORMAT: v*
- name: Publish Github Package Registry
if: ${{ github.ref == 'refs/heads/master' }} # Publish only when the push is on master
uses: Rebel028/publish-nuget@v2.7.0
with:
PROJECT_FILE_PATH: LNURL/LNURL.csproj
NUGET_SOURCE: "https://nuget.pkg.github.com/Kukks"
NUGET_KEY: ${{secrets.GH_TOKEN}}
PACKAGE_NAME: LNURL
INCLUDE_SYMBOLS: false
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$
TAG_COMMIT: true
TAG_FORMAT: v*