This repository was archived by the owner on Sep 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,19 +15,22 @@ jobs:
1515 - run : dotnet build --configuration ${{ matrix.configuration }}
1616 - run : dotnet test --no-build --configuration ${{ matrix.configuration }}
1717 - uses : actions/upload-artifact@v1
18- if : matrix.configuration == 'Release' && matrix.os == 'ubuntu -latest'
18+ if : matrix.configuration == 'Release' && matrix.os == 'windows -latest'
1919 with :
2020 name : release-files
2121 path : DigitalOcean.API/bin/Release
2222 publish :
2323 needs : build
24- runs-on : ubuntu -latest
24+ runs-on : windows -latest
2525 steps :
2626 - uses : actions/download-artifact@v1
2727 if : github.event_name == 'push' && github.ref == 'refs/heads/release'
2828 with :
2929 name : release-files
3030 - run : dotnet nuget push release-files/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
3131 if : github.event_name == 'push' && github.ref == 'refs/heads/release'
32- - run : dotnet nuget push release-files/*.nupkg -s https://trmcnvn:${{ secrets.GITHUB_API_TOKEN }}@nuget.pkg.github.com/trmcnvn/index.json
32+ - run : |
33+ choco install nuget.commandline
34+ nuget sources add -name gpr -source https://nuget.pkg.github.com/trmcnvn/index.json -username trmcnvn -password ${{ secrets.GITHUB_API_TOKEN }}
35+ nuget push release-files/*.nupkg -source gpr
3336 if: github.event_name == 'push' && github.ref == 'refs/heads/release'
You can’t perform that action at this time.
0 commit comments