File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1919 # Official NuGet Feed settings
2020 NUGET_FEED : https://api.nuget.org/v3/index.json
2121 NUGET_KEY : ${{ secrets.NUGET_TOKEN }}
22+
2223jobs :
2324 build :
2425 runs-on : ${{ matrix.os }}
@@ -83,13 +84,15 @@ jobs:
8384 uses : actions/setup-dotnet@v3
8485 with :
8586 dotnet-version : 7.x
86- source-url : https://nuget.pkg.github.com/shaprcode-it/index.json
87+ # source-url: https://nuget.pkg.github.com/shaprcode-it/index.json
88+ - name : Add Github feed
89+ run : dotnet nuget add source --username ${{GITHUB_USER}} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/shaprcode-it/index.json"
8790 - name : List sources
8891 run : dotnet nuget list source
8992 - name : List sources
9093 run : dotnet --info
9194 - name : Publish the package to GitHub
92- run : dotnet nuget push "*.nupkg"
95+ run : dotnet nuget push "*.nupkg" --source "github"
9396 deploy :
9497 needs : build
9598 if : github.event_name == 'release' && startsWith(github.ref, 'refs/heads/v')
You can’t perform that action at this time.
0 commit comments