Skip to content

Commit 6a47003

Browse files
committed
Unbreak macos
Force nightly.
1 parent a4de872 commit 6a47003

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,12 @@ jobs:
173173
run: |
174174
curl https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
175175
echo "##[add-path]$HOME/.cargo/bin"
176+
rustup update nightly --no-self-update
177+
rustup default nightly
176178
if: matrix.os == 'macos-latest'
177-
- run: rustup target add ${{ matrix.target }}
179+
- run: |
180+
rustup default nightly
181+
rustup target add ${{ matrix.target }}
178182
if: "!endsWith(matrix.target, 'emulated')"
179183
- run: cargo generate-lockfile
180184

0 commit comments

Comments
 (0)