File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,10 +56,12 @@ jobs:
5656 uses : actions/download-artifact@v1
5757 with :
5858 name : nupkg
59- - name : Authenticate with GitHub Packages
60- run : dotnet nuget add source $GITHUB_FEED -n GitHub -u $GITHUB_USER -p $GITHUB_TOKEN --store-password-in-clear-text
61- - name : Push to GitHub Packages
62- run : dotnet nuget push ./nupkg/*.nupkg --source GitHub --skip-duplicate
59+ - name : Push to GitHub Feed
60+ run : |
61+ for f in ./nupkg/*.nupkg
62+ do
63+ curl -vX PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_SOURCE
64+ done
6365 deploy :
6466 needs : build
6567 if : github.event_name == 'release'
7880 VERSION="${VERSION//v}"
7981 echo Clean Version: $VERSION
8082 dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=$VERSION -o nupkg src/$PROJECT_NAME/$PROJECT_NAME.*proj
81- - name : Authenticate with GitHub Packages
82- run : dotnet nuget add source $GITHUB_FEED -n GitHub -u $GITHUB_USER -p $GITHUB_TOKEN --store-password-in-clear-text
83- - name : Push to GitHub Packages
84- run : dotnet nuget push ./nupkg/*.nupkg --source GitHub --skip-duplicate
83+ - name : Push to GitHub Feed
84+ run : |
85+ for f in ./nupkg/*.nupkg
86+ do
87+ curl -vX PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_SOURCE
88+ done
8589 - name : Push to NuGet Feed
8690 run : dotnet nuget push ./nupkg/*.nupkg --source $NUGET_FEED --skip-duplicate --api-key $NUGET_KEY
You can’t perform that action at this time.
0 commit comments