Revert macos action downgrade and disable caching instead

This commit is contained in:
bytedream 2024-02-26 20:42:33 +01:00
parent 9a6959970a
commit 3099aac0e7

View file

@ -68,10 +68,10 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
# macos-12 uses x86_64, macos-14 aarch64 # macos-13 uses x86_64, macos-14 aarch64
# see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources # see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
include: include:
- os: macos-12 - os: macos-13
arch: x86_64 arch: x86_64
toolchain: x86_64-apple-darwin toolchain: x86_64-apple-darwin
- os: macos-14 - os: macos-14
@ -82,6 +82,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Cargo cache - name: Cargo cache
if: ${{ matrix.os != 'macos-13' }} # when using cache, the 'Setup Rust' step fails for macos 13
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |