Skip to content

Commit eadd744

Browse files
committed
Fix Rust installation on osx
1 parent e95bea6 commit eadd744

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@master
1717
- name: Install Rust
18-
run: rustup update nightly && rustup default nightly
18+
run: |
19+
curl https://sh.rustup.rs | sh -s -- -y --default-toochain=nightly
20+
echo "##[add-path]$HOME/.cargo/bin"
1921
- run: cargo build
2022
- run: echo "[registry]\ntoken =\"${{ secrets.CRATESIO_TOKEN }}\"" >> $HOME/.cargo/credentials
2123
name: Configure crates.io token

0 commit comments

Comments
 (0)