chore: replace archived upload-release-asset with gh release upload#15110
Merged
Conversation
The archived actions/upload-release-asset runs on the node12 runtime and has no Node 24 release. Replace it with a 'gh release upload' step (GitHub CLI, no action runtime) and surface release-drafter's tag_name output. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
dogboat
approved these changes
Jun 30, 2026
valentijnscholten
approved these changes
Jun 30, 2026
Member
|
I have now way of testing this. Did you manage to test it? |
Contributor
Author
I have used this mechanism in other repos |
Jino-T
approved these changes
Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the GitHub-archived
actions/upload-release-asset@v1.0.2inrelease-drafter.yml, which runs on the deprecated node12 runtime and has no Node 24 release (so it can't be version-bumped — it must be replaced).The two upload steps are collapsed into a single
gh release uploadstep (GitHub CLI is preinstalled on runners): no action runtime, nothing to pin, and immune to future node deprecation.softprops/action-gh-release@v2was rejected because it runs on node20 and would re-introduce a soon-deprecated runtime.The job now surfaces release-drafter's
tag_nameoutput (used to target the draft release) instead of the now-unusedupload_url. Artifact paths are unchanged;--clobberkeeps re-runs idempotent.Follow-up to the org-wide GitHub Actions cleanup (Node 20 runtime work).
Shortcut: sc-13332