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' }}
|
if: ${{ matrix.config.os_name == 'linux' }}
|
||||||
run: |
|
run: |
|
||||||
curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
|
curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
|
||||||
. "$HOME/.cargo/env"
|
|
||||||
- name: Build all crates
|
- name: Build all crates
|
||||||
run: cargo build --release --features ${{ matrix.feature }}
|
run: |
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
cargo build --release --features ${{ matrix.feature }}
|
||||||
- name: Handle binaries
|
- name: Handle binaries
|
||||||
if: ${{ matrix.config.os_name != 'windows' }}
|
if: ${{ matrix.config.os_name != 'windows' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user