refactor(release-ci): bump cargo-dist
0.1.0
#48
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.
Updates release workflow to use cargo-dist 0.1.0: https://github.com/axodotdev/cargo-dist/releases/tag/v0.1.0
Example run of updated CI: https://github.com/smallstepman/dfx-extensions/actions/runs/5879509170
Example release after CI updates: https://github.com/smallstepman/dfx-extensions/releases/tag/sns-v23132123.231.123
Most notable changes:
tar.gz
(previously it wastar.xz
which we had to repackage in CI)sha256
for the archive and uploads it as{archive_filename_with_file_extension}.sha256
{package}-v{version}-{platform}.{ext}
to{package}-{platform}.{ext}
, read more herehttps://github.com/axodotdev/cargo-dist/issues/184
)publish = false
was specified inCargo.toml
Additionally:
dtolnay/rust-toolchain@stable
; rust toolchain comes preinstalled on GitHub Runnerscargo-binstall
manual installation has been replaced with minimal GHA (seehttps://github.com/cargo-bins/cargo-binstall/pull/1269
)