Skip to content

Commit

Permalink
fix: publish packages to nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
egil authored Feb 22, 2022
1 parent 8c58c1e commit 07d9d28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ jobs:
dotnet pack src/bunit.template/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true
- name: 🛠️ Upload library to NuGet.org repository
run: dotnet nuget push ${GITHUB_WORKSPACE}/packages/*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
run: |
dotnet nuget push ${GITHUB_WORKSPACE}/packages/bunit.web.testcomponents.${{ NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
dotnet nuget push ${GITHUB_WORKSPACE}/packages/bunit.web.${{ NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
dotnet nuget push ${GITHUB_WORKSPACE}/packages/bunit.core.${{ NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
dotnet nuget push ${GITHUB_WORKSPACE}/packages/bunit.template.${{ NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
- name: ⏩ Push stable branch
run: git push origin stable
Expand Down

0 comments on commit 07d9d28

Please sign in to comment.