File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 17
17
working-directory : .
18
18
19
19
steps :
20
- - name : Checkout
21
- uses : actions/checkout@v3
22
- with :
23
- fetch-depth : 0
24
-
25
20
- name : Download NuGet Packages from Release
26
21
run : |
27
22
Write-Host "GITHUB_REF: '$($env:GITHUB_REF)'"
34
29
35
30
- name : Publish to github packages
36
31
run : |
37
- dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source "https://api.nuget.org/v3/index.json"
32
+ dotnet nuget add source --username ${{ secrets.USERNAME }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/SIEMENS/index.json"
33
+ dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source github
38
34
env :
35
+ USERNAME : ${{ secrets.USERNAME }}
39
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
37
You can’t perform that action at this time.
0 commit comments