diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index b81c5e9..ce9b7c8 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -48,11 +48,7 @@ jobs: - name: Publish to GitHub Packages if: github.event_name == 'release' || github.event_name == 'workflow_dispatch' run: | - dotnet nuget add source \ - --username ${{ github.actor }} \ - --password ${{ secrets.GITHUB_TOKEN }} \ - --store-password-in-clear-text \ - --name github \ - "https://nuget.pkg.github.com/TimeWarpEngineering/index.json" - - dotnet nuget push artifacts/packages/*.nupkg --source "github" --skip-duplicate + dotnet nuget push artifacts/packages/*.nupkg \ + --source "https://nuget.pkg.github.com/TimeWarpEngineering/index.json" \ + --api-key ${{ secrets.GITHUB_TOKEN }} \ + --skip-duplicate