Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/reusable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,12 @@ jobs:

- name: Publish artifacts to GitHub Packages
env:
# publish_to_github_packages.py shells out to `gh release upload`,
# which requires GH_TOKEN. Without this the step fails with
# "To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN
# environment variable" and exits 4.
GH_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
PRIMARY_LANGUAGE: ${{ needs.detect-languages.outputs.primary-language || 'unknown' }}
RELEASE_TAG: ${{ needs.detect-languages.outputs.release-tag }}
RELEASE_STRATEGY: ${{ needs.detect-languages.outputs.release-branch-strategy }}
Expand Down
Loading