Skip to content

Releases: baptiste0928/cargo-install

v3.1.1

24 Jun 13:48
v3.1.1
904927d
Compare
Choose a tag to compare

Fixed

  • Pre-release versions are ignored when resolving the latest version.

v3.1.0

10 Apr 18:07
v3.1.0
9f6037e
Compare
Choose a tag to compare

Changed

  • Runner arch is included in the cache key.

Fixed

  • Fix runner os version resolution on macOS runners. (issue #24)

v3.0.1

08 Mar 10:47
v3.0.1
94e1849
Compare
Choose a tag to compare

Fixed

  • Improve git tag/branch resolution. (issue #22)

v3.0.0

01 Feb 22:07
v3.0.0
1cd874a
Compare
Choose a tag to compare

Added

  • Runner os version is included in the cache key. (#21)

Changed

  • Breaking: The action now runs on Node.js 20.
  • Dependencies have been updated.

v2.2.0

07 Sep 08:36
v2.2.0
21a18ba
Compare
Choose a tag to compare

Added

  • Support alternative registries with the registry and index input parameters.

Changed

  • Crate versions are fetched from the sparse index instead of the crates.io API.

v2.1.0

09 Jun 09:06
30f4329
Compare
Choose a tag to compare

Added

  • Git installation is now supported with the git input parameter. You can specify a branch, tag or commit hash. (#14)

Usage:

- name: Install cargo-sort from git
  uses: baptiste0928/cargo-install@v2
  with:
    crate: cargo-sort
    git: https://github.com/devinr528/cargo-sort
    tag: v1.0.9  # `branch` and `commit` are also supported

v2.0.0

23 Mar 16:31
48c92f3
Compare
Choose a tag to compare

New major release. This new version should remove the warning about Node 12 being deprecated, along with some improvements to the default behaviour. I also rewrote and improved most of the code.

Added

  • Name and version are shown in the cache key. This allows to identify cache
    entries in the cache management UI more easily.

Changed

  • 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.

v1.3.1

15 Feb 15:23
Compare
Choose a tag to compare

Fixed

  • Use semver instead of compare-versions to fix version resolution issues.
  • Dependencies have been updated. This removes the warning about set-output being deprecated.

v1.3.0

14 Jun 19:04
Compare
Choose a tag to compare

Added

  • Add args input to add additional arguments to the cargo install command.

Deprecated

  • locked input is deprecated, use the args input with --locked instead.

v1.2.0

16 Mar 15:50
Compare
Choose a tag to compare

Added

  • Add locked input to add --locked argument to cargo install command.

Changed

  • Dependencies have been updated.