Release 0.19.0 #23
Workflow file for this run
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 | |
on: | |
push: | |
tags: | |
- v*.*.* | |
jobs: | |
publish: | |
name: Publish Client | |
runs-on: ubuntu-latest | |
steps: | |
- name: Wait for tests to succeed | |
uses: lewagon/[email protected] | |
with: | |
ref: 'refs/heads/main' | |
running-workflow-name: 'Publish Client' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
wait-interval: 10 | |
allowed-conclusions: success | |
- uses: actions/checkout@v4 | |
- name: Set VERSION variable from tag | |
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV | |
- name: Pack | |
run: dotnet pack -c Release -o out | |
- name: Publish to NuGet | |
run: dotnet nuget push ./out/*.nupkg -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate --no-symbols --source 'https://api.nuget.org/v3/index.json' # yamllint disable |