Skip to content

Commit 48c19e2

Browse files
author
Thomas Fuchs
committed
Push packages to github
1 parent 456278f commit 48c19e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dotnet-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3 | cut -d "v" -f 2)
3636

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

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

0 commit comments

Comments
 (0)