Skip to content

Commit ec7ef3c

Browse files
committed
Fix rustup after update
1 parent cbaa0e1 commit ec7ef3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/common-setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ runs:
5050

5151
- name: Install rust toolchain
5252
shell: bash
53-
run: rustup show
53+
run: rustup show active-toolchain || rustup toolchain install
5454
if: ${{ inputs.requiresRust == 'true' }}
5555

5656
- name: Prepare the build environment

docker/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ docker run \
5151
--workdir /build \
5252
--user "$(id -u):$(id -g)" \
5353
"$BUILDER_CONTAINER_TAG" \
54-
cargo build --release
54+
'bash -c "rustup toolchain install && cargo build --release"'
5555

5656
# Prepare artifacts.
5757
TMP_ARTIFACTS_DIR="$(mktemp -d)"

0 commit comments

Comments
 (0)