mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
ci: add username/password back for github
This commit is contained in:
parent
333497d701
commit
276fa566c4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
|
@ -85,10 +85,10 @@ jobs:
|
||||||
tag: ${{ steps.setVersion.outputs.version }}
|
tag: ${{ steps.setVersion.outputs.version }}
|
||||||
- name: Setup Nuget
|
- name: Setup Nuget
|
||||||
run: |
|
run: |
|
||||||
nuget sources add -name github -source https://nuget.pkg.github.com/pepperdash/index.json
|
nuget sources add -name github -source https://nuget.pkg.github.com/pepperdash/index.json -username pepperdash -password ${{ secrets.GITHUB_TOKEN }}
|
||||||
nuget setApiKey ${{ secrets.GITHUB_TOKEN }} -Source github
|
nuget setApiKey ${{ secrets.GITHUB_TOKEN }} -Source github
|
||||||
nuget setApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json
|
nuget setApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json
|
||||||
- name: Publish to Nuget
|
- name: Publish to Nuget
|
||||||
run: nuget push .\output\*.nupkg -Source https://api.nuget.org/v3/index.json
|
run: nuget push .\output\*.nupkg -Source https://api.nuget.org/v3/index.json
|
||||||
- name: Public to Github Nuget
|
- name: Publish to Github Nuget
|
||||||
run: nuget push .\output\*.nupkg -Source github
|
run: nuget push .\output\*.nupkg -Source github
|
||||||
Loading…
Add table
Reference in a new issue