File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -401,17 +401,17 @@ jobs:
401401 run : |
402402 ls
403403 pwsh -ep Bypass -c ./tools/publish-nupkg.ps1 $env:is_release
404-
405- # - name: Upload Nuget packages to GitHub registry
406- # if: ${{ github.event_name != 'pull_request' }}
407- # env:
408- # GHPKG_KEY: ${{ secrets.GHPKG_KEY }}
409- # run: |
410- # dotnet nuget add source --username HelloWRC --password $env:GHPKG_KEY --store-password-in-clear-text --name github "https://nuget.pkg.github.com/ClassIsland/index.json"
411- # dotnet nuget push .\out\*.nupkg -k $env:GHPKG_KEY --source "github" --skip-duplicate
412404
413405 - name : Upload Nuget Packages to artifacts
414406 uses : actions/upload-artifact@v4
415407 with :
416408 name : out_nupkgs
417- path : ./out/*.nupkg
409+ path : ./out/*.nupkg
410+
411+ - name : Upload Nuget packages to GitHub registry
412+ if : ${{ github.event_name != 'pull_request' }}
413+ env :
414+ GHPKG_KEY : ${{ secrets.GHPKG_KEY }}
415+ run : |
416+ dotnet nuget add source --username HelloWRC --password $env:GHPKG_KEY --store-password-in-clear-text --name github "https://nuget.pkg.github.com/ClassIsland/index.json"
417+ dotnet nuget push .\out\*.nupkg -k $env:GHPKG_KEY --source "github" --skip-duplicate
You can’t perform that action at this time.
0 commit comments