File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -234,16 +234,8 @@ jobs:
234234 dotnet pack src/bunit.template/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:RepositoryBranch=main -p:ContinuousIntegrationBuild=true /p:PublicRelease=true
235235
236236 - name : Push packages to GitHub Package Registry
237- run : |
238- for f in ${GITHUB_WORKSPACE}/packages/*.nupkg
239- do
240- curl -vX PUT -u "egil:${{ secrets.GITHUB_TOKEN }}" -F package=@$f https://nuget.pkg.github.com/egil/
241- done
242- shell : bash
237+ run : dotnet nuget push ${GITHUB_WORKSPACE}/packages/'*.nupkg' -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/OWNER/index.json --skip-duplicate --no-symbols true
243238
244239 - name : Push packages to NuGet
245240 if : github.event_name == 'release'
246241 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
247-
248- # - name: Push packages to GitHub Package Registry
249- # run: dotnet nuget push ${GITHUB_WORKSPACE}/packages/'*.nupkg' --skip-duplicate
You can’t perform that action at this time.
0 commit comments