Skip to content

Commit

Permalink
workflow fix: rust install error
Browse files Browse the repository at this point in the history
  • Loading branch information
phoepsilonix committed Oct 24, 2024
1 parent a6fd86b commit f49f3cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,14 @@ jobs:

- name: Install stable toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
which rustup && rustup update || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y || rustup update
echo "Running Rust program for ${{ matrix.os }}"
- name: Cross build with all features
run: |
which rustc
source $HOME/.cargo/env || $PATH=$HOME/.cargo/bin:$PATH
which rustc
cargo install cross
cross build --release --target ${{ matrix.target }} --all-features --verbose --manifest-path ./Cargo.toml
Expand Down

0 comments on commit f49f3cf

Please sign in to comment.