Skip to content

Commit c4bbf8b

Browse files
Merge pull request #4 from TimeWarpEngineering/Cramer/2025-11-21/dev
fix: simplify GitHub Packages push authentication
2 parents 7ef81f0 + 328639d commit c4bbf8b

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ jobs:
4848
- name: Publish to GitHub Packages
4949
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
5050
run: |
51-
dotnet nuget add source \
52-
--username ${{ github.actor }} \
53-
--password ${{ secrets.GITHUB_TOKEN }} \
54-
--store-password-in-clear-text \
55-
--name github \
56-
"https://nuget.pkg.github.com/TimeWarpEngineering/index.json"
57-
58-
dotnet nuget push artifacts/packages/*.nupkg --source "github" --skip-duplicate
51+
dotnet nuget push artifacts/packages/*.nupkg \
52+
--source "https://nuget.pkg.github.com/TimeWarpEngineering/index.json" \
53+
--api-key ${{ secrets.GITHUB_TOKEN }} \
54+
--skip-duplicate

0 commit comments

Comments
 (0)