NetLicensing C# Client - Release #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NetLicensing C# Client - Release | |
on: | |
workflow_dispatch: | |
jobs: | |
publish-nuget: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '3.1.x' | |
- name: Install dependencies | |
run: dotnet restore Lucidtech | |
- name: Build | |
run: dotnet build Lucidtech --configuration Release --no-restore | |
- name: Publish to NuGet | |
uses: brandedoutcast/publish-nuget@v2 | |
with: | |
PROJECT_FILE_PATH: Lucidtech/Lucidtech.csproj | |
VERSION_REGEX: '^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$' | |
TAG_FORMAT: '*' | |
NUGET_KEY: ${{secrets.NUGET_API_KEY}} |