Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 0496f3b

Browse files
ddorgangavofyork
authored andcommitted
Do not attempt to rustup if in CI. This is taken care of by the base (#621)
image.
1 parent a2ced89 commit 0496f3b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/init.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ set -e
44

55
echo "*** Initialising WASM build environment"
66

7-
rustup update nightly
7+
if [ -z $CI_PROJECT_NAME ] ; then
8+
rustup update nightly
9+
rustup update stable
10+
fi
11+
812
rustup target add wasm32-unknown-unknown --toolchain nightly
9-
rustup update stable
1013

1114
# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
1215
command -v wasm-gc || \

0 commit comments

Comments
 (0)