Skip to content

AsyncKeyLock 1.0.6

AsyncKeyLock 1.0.6 #7

Workflow file for this run

name: .NET Core
on:
release:
types:
- published
jobs:
start:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 9.0.x
- name: Build with dotnet
run: dotnet build --configuration Release "./src/AsyncKeyLock.sln"
- name: Run unit tests
run: dotnet test "./src/AsyncKeyLock.sln"
- name: Create the package
run: dotnet pack --configuration Release "./src/AsyncKeyLock.sln"
- name: Publish "AsyncKeyLock" to nuget
run: dotnet nuget push "./src/AsyncKeyLock/bin/Release/*.nupkg" -s "https://api.nuget.org/v3/index.json" -k ${{secrets.NUGET_API_KEY}}