fix(release): source cargo env (#645)

This commit is contained in:
yetone 2024-09-26 23:54:46 +08:00 committed by GitHub
parent 9387c8ad45
commit 753b77425b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,6 +97,7 @@ 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 }}
- name: Handle binaries