diff --git a/.gitea/workflows/BuildLibrary.yml b/.gitea/workflows/BuildLibrary.yml index d0953c8..eb197ed 100644 --- a/.gitea/workflows/BuildLibrary.yml +++ b/.gitea/workflows/BuildLibrary.yml @@ -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 }} \ No newline at end of file