diff --git a/.github/workflows/dotnet-release.yml b/.github/workflows/dotnet-release.yml index a801878be..1269a9538 100644 --- a/.github/workflows/dotnet-release.yml +++ b/.github/workflows/dotnet-release.yml @@ -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 \ No newline at end of file + - 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 \ No newline at end of file