From 93abd8e5258f4d11686315e0c83cb7325bca2280 Mon Sep 17 00:00:00 2001 From: yetone Date: Thu, 26 Sep 2024 23:59:07 +0800 Subject: [PATCH] fix(release): source cargo env (#646) --- .github/workflows/release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 72de5a3e8..05f48fdcf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -97,9 +97,10 @@ jobs: if: ${{ matrix.config.os_name == 'linux' }} run: | curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal - . "$HOME/.cargo/env" - name: Build all crates - run: cargo build --release --features ${{ matrix.feature }} + run: | + . "$HOME/.cargo/env" + cargo build --release --features ${{ matrix.feature }} - name: Handle binaries if: ${{ matrix.config.os_name != 'windows' }} shell: bash