fix: release to aws s3 #237
Merged
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.
This pull request updates the GitHub Actions workflow for mirroring releases to S3, focusing on simplifying manual triggers, improving reliability, and tightening history retention. The main changes clarify how releases are selected for mirroring, enforce stricter input requirements for manual runs, and reduce the number of retained releases.
Workflow improvements and input handling:
workflow_dispatchmanual trigger now requires thetag_nameinput (previously optional), ensuring a release tag must always be specified when running the workflow manually. Therelease_nameinput has been removed for simplicity.Resolve releasestep was refactored: for manual runs, only the providedtag_nameis accepted (no fallback to latest or by name), and for automatic runs, the release payload is used directly. This makes the workflow more predictable and robust.Retention policy:
releases.jsonwas reduced from 100 to 20, helping to limit storage and improve performance.