mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Attempt to fix macos cache breaking for no reason
https://github.com/ankitects/anki/pull/560/checks?check_run_id=590022813
This commit is contained in:
parent
b018dba073
commit
3e3cd3b132
1 changed files with 3 additions and 1 deletions
4
.github/workflows/checks.yml
vendored
4
.github/workflows/checks.yml
vendored
|
@ -89,11 +89,13 @@ jobs:
|
|||
# Necessary for now for the cargo cache:
|
||||
# https://github.com/actions/cache/issues/133#issuecomment-599102035
|
||||
- name: Fix ~/.cache permissions
|
||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
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
|
||||
if: matrix.os != 'macos-latest'
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{ github.workspace }}${{ matrix.SEP }}pyenv
|
||||
|
|
Loading…
Reference in a new issue