Update to 0.19 (#100) #35
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
# Authors: | |
# | |
# Sam Gold <https://github.com/goldsam> | |
# Sebastian Stehle <https://github.com/SebastianStehle> | |
# Lucas Viana <https://github.com/LSViana> | |
name: Publish | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
pack-nuget: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Download artifacts | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
path: ./output | |
workflow: build-binaries.yml | |
workflow_conclusion: success | |
branch: main | |
- name: NuGet pack | |
run: | | |
dotnet pack -c Release | |
- name: NuGet publish | |
run: | | |
dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.nuget }} | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
**/*.nupkg |