Skip to content

Commit

Permalink
Push packages to github
Browse files Browse the repository at this point in the history
  • Loading branch information
Toxantron committed Jul 27, 2023
1 parent 456278f commit 48c19e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3 | cut -d "v" -f 2)

- name: Build
run: dotnet build Castle.Windsor.sln --configuration Release
run: dotnet build Castle.Windsor.sln -c Release
- name: Pack
run: dotnet pack Castle.Windsor.sln -c Release -o artifacts -p:PackageVersion=${{ steps.get_version.outputs.VERSION }}

- name: Push generated Rebus package to GitHub registry
run: dotnet nuget push artifacts -k ${{secrets.NUGET_SECRET_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
- name: Push generated NuGet packages to GitHub Packages
run: dotnet nuget push "artifacts/*.nupkg" -k ${{secrets.GITHUB_TOKEN}} -s https://nuget.pkg.github.com/castleproject/index.json --skip-duplicate --no-symbols

0 comments on commit 48c19e2

Please sign in to comment.