DeltaQ 2.1 #2
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: Upload packages to feeds | |
on: | |
release: | |
types: [created, edited] | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
7.0.x | |
8.0.x | |
- name: Pack | |
run: dotnet pack -c Release --output pkg | |
- name: Publish the package to GPR | |
run: dotnet nuget push pkg/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/jzebedee/index.json --skip-duplicate | |
- name: Publish the package to NuGet | |
run: dotnet nuget push pkg/*.nupkg -k ${{ secrets.DELTAQ_NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json --skip-duplicate |