Skip to content

Commit db6ba84

Browse files
committed
fix(ci): run rustup and cargo through mise for toolchain resolution
1 parent 86b3675 commit db6ba84

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
rm -rf /var/lib/apt/lists/*
273273
274274
- name: Add Rust musl target
275-
run: rustup target add ${{ matrix.target }}
275+
run: mise x -- rustup target add ${{ matrix.target }}
276276

277277
- name: Scope workspace to CLI crates
278278
run: |
@@ -289,7 +289,7 @@ jobs:
289289
sed -i -E '/^\[workspace\.package\]/,/^\[/{s/^version[[:space:]]*=[[:space:]]*".*"/version = "'"${{ steps.version.outputs.cargo_version }}"'"/}' Cargo.toml
290290
291291
- name: Build ${{ matrix.target }}
292-
run: cargo build --release --target ${{ matrix.target }} -p navigator-cli
292+
run: mise x -- cargo build --release --target ${{ matrix.target }} -p navigator-cli
293293

294294
- name: sccache stats
295295
if: always()

0 commit comments

Comments
 (0)