Skip to content

Commit

Permalink
fix: cargo path
Browse files Browse the repository at this point in the history
  • Loading branch information
fedosov committed Sep 12, 2022
1 parent 78f08f1 commit a302134
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ jobs:
- name: Update local toolchain
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
source "$HOME/.cargo/env"
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup target add ${{ matrix.target }} --toolchain nightly
- name: Build
run: cargo build --release --target ${{ matrix.target }}
run: |
source "$HOME/.cargo/env"
cargo build --release --target ${{ matrix.target }}
- name: Package
shell: bash
run: |
Expand Down

0 comments on commit a302134

Please sign in to comment.