Skip to content

.NETFramework,Version=v4.8 #18

.NETFramework,Version=v4.8

.NETFramework,Version=v4.8 #18

Workflow file for this run

name: release
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.x
- name: Restore NuGet Packages
run: nuget restore Biometrics.sln
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
- name: Build app for release
run: msbuild Biometrics.sln -t:build -verbosity:diag -property:Configuration=Release
- name: Publish to NuGet.org
shell: pwsh
run: dotnet nuget push "**/*.nupkg" --source https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate