From ff2dd1e26151ab8d341244e8ec69be57b2a6f3f1 Mon Sep 17 00:00:00 2001 From: Yihau Chen Date: Wed, 23 Nov 2022 00:24:49 +0800 Subject: [PATCH] ci: use our cargo setup instead of actions-rs/toolchain (#28923) --- .github/workflows/release-artifacts.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 0f86728c55..e89cf87b1d 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -28,9 +28,9 @@ jobs: fetch-depth: 0 - name: Setup Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + shell: bash + run: | + source ci/rust-version.sh stable # copy the newest version env.sh before switching version. - name: Copy Env Script