File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -87,14 +87,18 @@ jobs:
8787 with :
8888 dotnet-version : 7.x
8989 # source-url: https://nuget.pkg.github.com/shaprcode-it/index.json
90- - name : Add Github feed
91- run : dotnet nuget add source --username iscifoni --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/shaprcode-it/index.json"
92- - name : List sources
93- run : dotnet nuget list source
94- - name : List sources
95- run : dotnet --info
96- - name : Publish the package to GitHub
97- run : dotnet nuget push "*.nupkg" --source https://nuget.pkg.github.com/shaprcode-it/index.json --api-key $GITHUB_TOKEN
90+ # - name: Add Github feed
91+ # run: dotnet nuget add source --username iscifoni --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/shaprcode-it/index.json"
92+ # - name: List sources
93+ # run: dotnet nuget list source
94+ - name : Push to GitHub Feed
95+ run : |
96+ for f in ./nupkg/*.nupkg
97+ do
98+ curl -vX PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_FEED
99+ done
100+ # - name: Publish the package to GitHub
101+ # run: dotnet nuget push "*.nupkg" --source https://nuget.pkg.github.com/shaprcode-it/index.json --api-key $GITHUB_TOKEN
98102 deploy :
99103 needs : build
100104 if : github.event_name == 'release' && startsWith(github.ref, 'refs/heads/v')
You can’t perform that action at this time.
0 commit comments