[WORKFLOW] Changes api key param to nuget push command
All checks were successful
Build C# Library / build (push) Successful in 1m16s
All checks were successful
Build C# Library / build (push) Successful in 1m16s
This commit is contained in:
@@ -42,11 +42,11 @@ jobs:
|
|||||||
--password $GITEA_TOKEN \
|
--password $GITEA_TOKEN \
|
||||||
--store-password-in-clear-text \
|
--store-password-in-clear-text \
|
||||||
--name gitea \
|
--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
|
https://git.netzbyte.com/api/packages/$GITEA_USER/nuget/index.json
|
||||||
|
|
||||||
# --skip-duplicate prevents errors if the package already exists.
|
# --skip-duplicate - Prevents errors if the package already exists.
|
||||||
dotnet nuget push ./artifacts/*.nupkg --source gitea --skip-duplicate
|
# --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:
|
env:
|
||||||
GITEA_USER: max
|
GITEA_USER: max
|
||||||
GITEA_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
|
Reference in New Issue
Block a user