Skip to content

Commit

Permalink
还原
Browse files Browse the repository at this point in the history
  • Loading branch information
hjkl950217 committed Aug 16, 2020
1 parent 2375a31 commit 82d8af1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ jobs:
- name: Build
run: dotnet build CkTools --configuration Release --no-restore -o package
- name: Push
run: |
dotnet nuget add source https://nuget.pkg.github.com/hjkl950217/index.json -n github -u hjkl950217 -p GH_TOKEN [--store-password-in-clear-text]
dotnet nuget push "**/*.nupkg" -k '${{secrets.NUGETKEY}}' -s 'https://api.nuget.org/v3/index.json' --skip-duplicate
dotnet nuget push "**/*.nupkg" --source "github" --skip-duplicate
run: dotnet nuget push "**/*.nupkg" -k '${{secrets.NUGETKEY}}' -s 'https://api.nuget.org/v3/index.json' --skip-duplicate
- name: Push Symbol
run: |
dotnet nuget push "**/*.snupkg" -k '${{secrets.NUGETKEY}}' -s 'https://api.nuget.org/v3/index.json' --skip-duplicate
dotnet nuget push "**/*.snupkg" --source "github" --skip-duplicate
run: dotnet nuget push "**/*.snupkg" -k '${{secrets.NUGETKEY}}' -s 'https://api.nuget.org/v3/index.json' --skip-duplicate

0 comments on commit 82d8af1

Please sign in to comment.