All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.1.1 - 2024-06-24
- Pre-release versions are ignored when resolving the latest version.
3.1.0 - 2024-04-10
- Runner arch is included in the cache key.
- Fix runner os version resolution on macOS runners. (issue #24)
3.0.1 - 2024-03-08
- Improve git tag/branch resolution. (issue #22)
3.0.0 - 2024-02-01
- Runner os version is included in the cache key. (issue #21)
- Breaking: The action now runs on Node.js 20.
- Dependencies have been updated.
2.2.0 - 2023-09-07
- Support alternative registries with the
registry
andindex
input parameters.
- Crate versions are fetched from the sparse index instead of the crates.io API.
2.1.0 - 2023-06-09
- Git installation is now supported with the
git
input parameter. You can specify a branch, tag or commit hash.
2.0.0 - 2023-03-23
- Name and version are shown in the cache key. This allow to identify cache entries in the cache management UI more easily.
- Breaking: The action now runs on Node.js 16.
- Breaking: Versions without semver range (e.g.
1.2.3
) are now considered as exact versions. - Breaking: Set
--locked
by default.locked
input is no longer deprecated. - Various code improvements and refactoring.
1.3.1 - 2023-02-15
- Use
semver
instead ofcompare-versions
to fix version resolution issues. - Dependencies have been updated. This removes the warning about
set-output
being deprecated.
1.3.0 - 2022-06-14
- Add
args
input to add additional arguments to thecargo install
command.
locked
input is deprecated, use theargs
input with--locked
instead.
1.2.0 - 2022-03-16
- Add
locked
input to add--locked
argument tocargo install
command.
- Dependencies have been updated.
1.1.0 - 2022-01-14
- Add
cache-key
input to add a custom key to the automatic cache key.
1.0.1 - 2022-01-07
- Errors when saving cache no longer cause the workflow to fail.
1.0.0 - 2021-11-21
- Initial release of
cargo-install
action.