Skip to content

v2.3.0

v2.3.0 #31

Workflow file for this run

name: Publish NuGet package
on:
release:
types: [published]
jobs:
nuget-publish:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup .NET
uses: actions/[email protected]
with:
source-url: https://api.nuget.org/v3/index.json
dotnet-version: 7.0.x
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}}
- name: Restore dependencies
run: dotnet restore
- name: Publish
run: |
cd Recaptcha.Verify.Net
dotnet pack -c Release -o out --no-restore
cd out
dotnet nuget push "*.nupkg" --skip-duplicate --api-key ${{secrets.NUGET_TOKEN}}