Skip to content

Commit

Permalink
ci: Use --force with quickinstall to work around caching issue (#…
Browse files Browse the repository at this point in the history
…2403)

* ci: Create different Rust cache entries for different toolsets

Should unbreak CI.

* Again
  • Loading branch information
larseggert authored Feb 2, 2025
1 parent 5df4c24 commit 63506c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ runs:
shell: bash
run: |
{
echo "CARGO_INCREMENTAL=0"
echo "CARGO_PROFILE_RELEASE_LTO=true"
echo "CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1"
} >> "$GITHUB_ENV"
Expand Down Expand Up @@ -88,4 +87,5 @@ runs:
if: inputs.tools != ''
env:
GITHUB_TOKEN: ${{ inputs.token }}
run: cargo quickinstall $(echo ${{ inputs.tools }} | tr -d ",")
# FIXME: See https://github.com/Swatinem/rust-cache/issues/204 for why `--force`.
run: cargo quickinstall --force $(echo ${{ inputs.tools }} | tr -d ",")

0 comments on commit 63506c5

Please sign in to comment.