bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Improve ci - install binaries instead of compiling

Open ameknite opened this issue 11 months ago • 2 comments

Objective

Reduce time compiling crates in CI.

Solution

  • Install binaries using https://github.com/taiki-e/install-action/tree/v2/

install-actions uses github releases to find the binaries. Uses cargo-binstall as a fallback

ameknite avatar Mar 22 '24 08:03 ameknite

Also would you mind rebasing onto main? A few of the required checks have been modified after this PR was created, which is why it says some checks haven't been completed yet.

BD103 avatar Apr 22 '24 20:04 BD103

please put the version of the action everywhere

Agreed, it would be good to target specific versions of the binaries so we don't have breaking changes.

- uses: taiki-e/install-action@v2
  with:
    tool: [email protected]

I don't think we need to specify the patch version, but certainly the minor and major versions.

BD103 avatar Apr 22 '24 22:04 BD103