diff --git a/.github/workflows/nuget-ci-cd.yml b/.github/workflows/nuget-ci-cd.yml index 25b93eb..81988e7 100644 --- a/.github/workflows/nuget-ci-cd.yml +++ b/.github/workflows/nuget-ci-cd.yml @@ -124,7 +124,9 @@ jobs: if: github.event_name == 'pull_request' || (github.event_name == 'push' && startsWith(github.ref, 'refs/heads')) shell: bash run: | - dotnet nuget push "src/artifacts/package/release/*.symbols.nupkg" -s https://nuget.pkg.github.com/sillsdev/index.json -k "${{ secrets.GITHUB_TOKEN }}" --skip-duplicate + dotnet nuget push "src/artifacts/package/release/*.symbols.nupkg" -s https://nuget.pkg.github.com/sillsdev/index.json -k "$NUGET_API_KEY" --skip-duplicate + env: + NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }} - name: Publish package to NuGet.org if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')