-
Notifications
You must be signed in to change notification settings - Fork 239
fix: github release action updated #7060
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Updates the GitHub Actions release workflow to use modern Node.js (v22) and supported GitHub CLI commands for asset uploads. The changes address recurring failures in the release action by eliminating the deprecated node-version matrix strategy and replacing the deprecated actions/upload-release-asset action with the GitHub CLI gh release upload command.
Key Changes
- Upgraded to Node.js 22 and modern GitHub Actions (checkout@v5, setup-node@v6)
- Replaced deprecated upload-release-asset action with GitHub CLI for uploading multiple release assets
- Added explicit
contents: writepermission required for release uploads
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! If this prevents those Release Failed emails, it's much appreciated!
Co-authored-by: Copilot <[email protected]>
|
@Kikketer hmmmm... not sure why the workflow is failing but it certainly isn't for any good reason. i'll merge this |
Release actions consistently fail and any changes within your repo to fix it are overwritten when we create a release in the GUI.
This updates the github action to use modern node, no matrix (not needed) and uses modern and supported ways of uploading the assets to the release
Tested and proven here: https://github.com/Emeraldtheporcupine/GelbsBunnyHunt/actions/runs/18633872295
Undone by the release button here: https://github.com/Emeraldtheporcupine/GelbsBunnyHunt/actions/runs/18634404746