Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ionizing committed Jul 2, 2022
1 parent c6b074d commit f820c49
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ jobs:
- uses: actions/checkout@v2
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
echo 'source $HOME/.cargo/env' >> $HOME/.bashrc\
source $HOME/.cargo/env
export PATH="$HOME/.cargo/bin:${PATH}"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y --target x86_64-unknown-linux-musl x86_64-unknown-linux-gnu
export PATH=/root/.cargo/bin:$PATH
rustup target add x86_64-unknown-linux-musl
- name: Build
run: cargo build --verbose --release
Expand Down

0 comments on commit f820c49

Please sign in to comment.