Skip to content

Commit 89f2d02

Browse files
committed
test(ci): self-hosted runner needs cargo in PATH after install
I had prepped my last batch of runners base image so this error was latent/masked and only showed up when I created new runners
1 parent 22a8176 commit 89f2d02

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/build-quick.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ jobs:
137137
if: contains(matrix.os, 'macos-tartelet')
138138
run: |
139139
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
140+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
140141
141142
- name: Ubuntu setup
142143
# We get KVM set up on Ubuntu as we run the emulator there (only platform with nested virt)

.github/workflows/build-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
# image doesn't have cargo (or rustup) installed by default. Easily fixed
7575
run: |
7676
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
77+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
7778
7879
- name: Restore Rust Cache
7980
id: rust-cache

0 commit comments

Comments
 (0)