Skip to content

Commit 2afd713

Browse files
committed
Default to the right version
1 parent 3aa3132 commit 2afd713

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build-temporal-core-artifacts.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ jobs:
137137
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
138138
. "$HOME/.cargo/env"
139139
rustup install ${{ env.RUST_VERSION }}
140+
rustup default ${{ env.RUST_VERSION }}
140141
rustup target add x86_64-apple-darwin
141142
rustup target add aarch64-apple-darwin
142143
rustup target add aarch64-apple-ios
@@ -327,6 +328,7 @@ jobs:
327328
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
328329
. "$HOME/.cargo/env"
329330
rustup install ${{ env.RUST_VERSION }}
331+
rustup default ${{ env.RUST_VERSION }}
330332
331333
- name: Build Linux x86_64
332334
run: |
@@ -365,6 +367,7 @@ jobs:
365367
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
366368
. "$HOME/.cargo/env"
367369
rustup install ${{ env.RUST_VERSION }}
370+
rustup default ${{ env.RUST_VERSION }}
368371
369372
- name: Build Linux ARM64
370373
run: |
@@ -407,6 +410,7 @@ jobs:
407410
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
408411
. "$HOME/.cargo/env"
409412
rustup install ${{ env.RUST_VERSION }}
413+
rustup default ${{ env.RUST_VERSION }}
410414
rustup target add x86_64-unknown-linux-musl
411415
412416
- name: Build Linux MUSL x86_64
@@ -450,6 +454,7 @@ jobs:
450454
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
451455
. "$HOME/.cargo/env"
452456
rustup install ${{ env.RUST_VERSION }}
457+
rustup default ${{ env.RUST_VERSION }}
453458
rustup target add aarch64-unknown-linux-musl
454459
455460
- name: Build Linux MUSL ARM64

0 commit comments

Comments
 (0)