Skip to content

NetLicensing C# Client - Release #53

NetLicensing C# Client - Release

NetLicensing C# Client - Release #53

name: NetLicensing C# Client - Release
on:
workflow_run:
workflows: ["NetLicensing C# Client - CI"]
branches: [ master ]
types:
- completed
jobs:
publish-nuget:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
# - name: Setup .NET Core
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: '6.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish to NuGet
uses: brandedoutcast/publish-nuget@v2
with:
PROJECT_FILE_PATH: NetLicensingClient/NetLicensingClient.csproj
VERSION_REGEX: '^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$'
TAG_FORMAT: '*'
NUGET_KEY: ${{secrets.NUGET_API_KEY}}