Skip to content

Commit

Permalink
test github push
Browse files Browse the repository at this point in the history
  • Loading branch information
hjkl950217 committed Aug 16, 2020
1 parent 6ae0452 commit 2375a31
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
- name: Build
run: dotnet build CkTools --configuration Release --no-restore -o package
- name: Push
run: dotnet nuget push "**/*.nupkg" -k '${{secrets.NUGETKEY}}' -s 'https://api.nuget.org/v3/index.json' --skip-duplicate
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
- name: Push Symbol
run: dotnet nuget push "**/*.snupkg" -k '${{secrets.NUGETKEY}}' -s 'https://api.nuget.org/v3/index.json' --skip-duplicate
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

0 comments on commit 2375a31

Please sign in to comment.