[WORKFLOW] Changes api key param to nuget push command
This commit is contained in:
parent
b32ea7cf12
commit
67d59039c1
1 changed files with 3 additions and 3 deletions
|
|
@ -42,11 +42,11 @@ jobs:
|
|||
--password $GITEA_TOKEN \
|
||||
--store-password-in-clear-text \
|
||||
--name gitea \
|
||||
--api-key SILENCE_API_KEY_WARNING \ # An random value to silence the 'No API key found' warning.
|
||||
https://git.netzbyte.com/api/packages/$GITEA_USER/nuget/index.json
|
||||
|
||||
# --skip-duplicate prevents errors if the package already exists.
|
||||
dotnet nuget push ./artifacts/*.nupkg --source gitea --skip-duplicate
|
||||
# --skip-duplicate - Prevents errors if the package already exists.
|
||||
# --api-key - An random value to silence the 'No API key found' warning.
|
||||
dotnet nuget push ./artifacts/*.nupkg --source gitea --skip-duplicate --api-key SILENCE_API_KEY_WARNING
|
||||
env:
|
||||
GITEA_USER: max
|
||||
GITEA_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue