Skip to content

Commit 14aefdc

Browse files
authored
Switch mac setup to use precompiled cranko (#1306)
2 parents 45b7066 + 34c63c3 commit 14aefdc

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

.github/actions/build-setup/action.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,14 @@ runs:
2020
rustup -V
2121
rustc -Vv
2222
cargo -V
23-
- name: Install latest Cranko (Ubuntu)
24-
if: ${{ runner.os == 'Linux' }}
23+
- name: Install latest Cranko (Ubuntu/macOS)
24+
if: ${{ runner.os != 'Windows' }}
2525
shell: bash
2626
run: |
2727
d="$(mktemp -d /tmp/cranko.XXXXXX)"
2828
cd "$d"
2929
curl --proto '=https' --tlsv1.2 -sSf https://pkgw.github.io/cranko/fetch-latest.sh | sh
3030
echo "PATH=$d:$PATH" >> "$GITHUB_ENV"
31-
- name: Install latest Cranko (macOS)
32-
if: ${{ runner.os == 'macOS' }}
33-
shell: bash
34-
run: |
35-
cargo install cranko --force
3631
- name: Install latest Cranko (Windows)
3732
if: ${{ runner.os == 'Windows' }}
3833
shell: pwsh

0 commit comments

Comments
 (0)