File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1515 run : echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
1616 - name : Pack
1717 run : dotnet pack --configuration Release /p:Version=${VERSION} --output .
18- - name : Push
18+ - name : Push to Github Packages
1919 run : dotnet nuget push Plex.Api.${VERSION}.nupkg -s https://nuget.pkg.github.com/jensenkd/index.json -k ${GITHUB_TOKEN}
20- - name : Push
20+ - name : Push to Nuget.Org
2121 run : dotnet nuget push Plex.Api.${VERSION}.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }}
2222 env :
2323 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2121 run : dotnet build --configuration Release /p:Version=${VERSION}
2222 - name : Pack
2323 run : dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
24- - name : Push
25- run : dotnet nuget push Plex.Api.${VERSION}.nupkg --source https://nuget.pkg.github.com/jensenkd/index.json --api-key ${GITHUB_TOKEN}
26- env :
24+ - name : Push to Github Packages
25+ run : dotnet nuget push Plex.Api.${VERSION}.nupkg -s https://nuget.pkg.github.com/jensenkd/index.json -k ${GITHUB_TOKEN}
26+ - name : Push to Nuget.Org
27+ run : dotnet nuget push Plex.Api.${VERSION}.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }}
28+ env :
2729 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments