chore: release 7.11.0 #169
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: Release packages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: Publish | |
runs-on: ubuntu-22.04 | |
if: "startsWith(github.event.head_commit.message, 'chore: release')" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- name: Create Nugget package | |
run: dotnet pack --configuration Release --output nugget | |
- name: Publish NuGet package | |
run: dotnet nuget push "nugget/*.nupkg" --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate |