ci: replace deprecated upload-to-gh-release with publish-action#1695
Merged
Conversation
The python-semantic-release/upload-to-gh-release action is archived and now prints a deprecation notice on every release run. Switch to python-semantic-release/publish-action v10.5.3 (matching the PSR version used by the surrounding Test release / Release steps); it takes the same github_token input.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1695 +/- ##
=======================================
Coverage 99.76% 99.76%
=======================================
Files 33 33
Lines 3410 3410
Branches 464 464
=======================================
Hits 3402 3402
Misses 5 5
Partials 3 3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
The
python-semantic-release/upload-to-gh-releaseaction isarchived and now prints a deprecation notice on every release run:
Swap the deprecated step in the
releasejob forpython-semantic-release/publish-action, pinned to v10.5.3 (thesame PSR release used by the surrounding
Test release/Releasesteps). The new action exposes the samegithub_tokeninput, so no other changes are needed.
Test plan
upload-to-gh-releaseis archived, andpublish-actionv10.5.3'saction.ymltakes the samegithub_tokeninput the old step took.master, where the GitHub Releases asset upload uses thenew action.