mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-03 19:53:33 -07:00
Fix CI: MacOS runner update breaks rust-cache action
https://github.com/Swatinem/rust-cache/issues/341
This commit is contained in:
committed by
Brad Warren
parent
d43aa28294
commit
047fbc216f
@@ -172,6 +172,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
components: clippy
|
components: clippy
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
# Workaround for https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
cache-bin: 'false'
|
||||||
# we don't need to run cargo fmt here because both cargo fmt and cargo
|
# we don't need to run cargo fmt here because both cargo fmt and cargo
|
||||||
# fmt --all runs on all workspace packages so this is handled by
|
# fmt --all runs on all workspace packages so this is handled by
|
||||||
# check_and_test above
|
# check_and_test above
|
||||||
@@ -275,6 +278,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
targets: ${{ matrix.platform.target }}
|
targets: ${{ matrix.platform.target }}
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
# Workaround for https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
cache-bin: 'false'
|
||||||
- name: Build rayhunter-check
|
- name: Build rayhunter-check
|
||||||
run: cargo build --bin rayhunter-check --release --target ${{ matrix.platform.target }}
|
run: cargo build --bin rayhunter-check --release --target ${{ matrix.platform.target }}
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
@@ -411,6 +417,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
targets: ${{ matrix.platform.target }}
|
targets: ${{ matrix.platform.target }}
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
# Workaround for https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
cache-bin: 'false'
|
||||||
- run: cargo build --package installer --bin installer --release --target ${{ matrix.platform.target }}
|
- run: cargo build --package installer --bin installer --release --target ${{ matrix.platform.target }}
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -504,6 +513,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
targets: ${{ matrix.platform.target }}
|
targets: ${{ matrix.platform.target }}
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
# Workaround for https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
# bin caching breaks cargo resolution on macOS 15 runner images
|
||||||
|
cache-bin: 'false'
|
||||||
- name: Build GUI installer
|
- name: Build GUI installer
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user