Skip to content

Commit

Permalink
Change nuget commands
Browse files Browse the repository at this point in the history
Error: UserName: Password:   Unauthorized https://nuget.pkg.github.com/hochfrequenz/ 564ms
Response status code does not indicate success: 401 (Unauthorized).

Try to keep as close as possible to NuGet/Home#8580
  • Loading branch information
hf-aschloegl committed Sep 15, 2021
1 parent a025aa9 commit bf387fc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/protobuf_v2_legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
run: dotnet pack --configuration Release --version-suffix "protobuf-v2-${{github.sha}}"
- name: Nuget push core
run: |
nuget setApiKey ${{ secrets.GITHUB_TOKEN }}
nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E/bin/Release/*.nupkg -Source https://nuget.pkg.github.com/hochfrequenz/
nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E.Extensions/bin/Release/*.nupkg -Source https://nuget.pkg.github.com/hochfrequenz/
nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E.Reporting/bin/Release/*.nupkg -Source https://nuget.pkg.github.com/hochfrequenz/
nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E-dotnet.Encryption/bin/Release/*.nupkg -Source https://nuget.pkg.github.com/hochfrequenz/
dotnet nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E/bin/Release/*.nupkg --source https://nuget.pkg.github.com/hochfrequenz/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
dotnet nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E.Extensions/bin/Release/*.nupkg --source https://nuget.pkg.github.com/hochfrequenz/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
dotnet nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E.Reporting/bin/Release/*.nupkg --source https://nuget.pkg.github.com/hochfrequenz/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
dotnet nuget push /home/runner/work/BO4E-dotnet/BO4E-dotnet/BO4E-dotnet.Encryption/bin/Release/*.nupkg --source https://nuget.pkg.github.com/hochfrequenz/index.json --api-key ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bf387fc

Please sign in to comment.