fix(release): source cargo env (#646)
This commit is contained in:
parent
753b77425b
commit
93abd8e525
5
.github/workflows/release.yaml
vendored
5
.github/workflows/release.yaml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user