Merge pull request #563 from evandroforks/attempt_to_fix_macos_build_cache
Attempt to fix macos cache breaking for no reason
This commit is contained in:
commit
c8fb409a49
4
.github/workflows/checks.yml
vendored
4
.github/workflows/checks.yml
vendored
@ -89,11 +89,13 @@ jobs:
|
|||||||
# Necessary for now for the cargo cache:
|
# Necessary for now for the cargo cache:
|
||||||
# https://github.com/actions/cache/issues/133#issuecomment-599102035
|
# https://github.com/actions/cache/issues/133#issuecomment-599102035
|
||||||
- name: Fix ~/.cache permissions
|
- name: Fix ~/.cache permissions
|
||||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
||||||
|
|
||||||
|
# Disable it for macos because it pyenv cache is bugged (https://github.com/ankitects/anki/pull/563)
|
||||||
- name: Cache pyenv
|
- name: Cache pyenv
|
||||||
|
if: matrix.os != 'macos-latest'
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}${{ matrix.SEP }}pyenv
|
path: ${{ github.workspace }}${{ matrix.SEP }}pyenv
|
||||||
|
Loading…
Reference in New Issue
Block a user