diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2931fa956..b0ebd8852 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,15 +67,17 @@ jobs: id: install-rust-nightly with: profile: minimal - toolchain: "nightly" - + toolchain: "nightly-2024-07-30" + - name: Install rust wasm targets run: rustup target add wasm32-wasi wasm32-unknown-unknown - name: Install nightly wasm targets run: | - rustup component add rust-src --toolchain nightly - rustup target add wasm32-unknown-unknown --toolchain nightly + nightly_toolchain='nightly-2024-07-30' + echo 'STYLUS_NIGHTLY_VER=+'"$nightly_toolchain" >> "$GITHUB_ENV" + rustup component add rust-src --toolchain "$nightly_toolchain" + rustup target add wasm32-unknown-unknown --toolchain "$nightly_toolchain" - name: Cache Build Products uses: actions/cache@v3