Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sagudev authored Jan 27, 2023
1 parent bf5dc2b commit 314edf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:
scoop install [email protected] --global
echo "C:\ProgramData\scoop\shims;C:\Users\runneradmin\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: dtolnay/rust-toolchain@nightly
- run: |
cargo install rustup-toolchain-install-master
rustup-toolchain-install-master -c cargo e65225bb3f98a0001676c0cc139656e7209590c2

This comment has been minimized.

Copy link
@bjorn3

bjorn3 Jan 27, 2023

I should have been clearer. You also need to set e65225bb3f98a0001676c0cc139656e7209590c2 as default toolchain or use cargo +e65225bb3f98a0001676c0cc139656e7209590c2.

This comment has been minimized.

Copy link
@sagudev

sagudev Jan 27, 2023

Author Owner

hm: https://github.com/sagudev/mozjs/actions/runs/4027148129/jobs/6922522983
I used rustup default e65225bb3f98a0001676c0cc139656e7209590c2

This comment has been minimized.

Copy link
@bjorn3

bjorn3 Jan 27, 2023

Looks like I got the argument order mixed up. -c cargo needs to be at the end.

- name: Build uwp
if: contains(matrix.target, 'uwp')
shell: cmd
Expand Down

0 comments on commit 314edf1

Please sign in to comment.