Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Fix build cache problems #6149

Merged
merged 1 commit into from
Sep 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Reformat everything (#617)
02a4048b547e0c00c65856f47351c4ecf0163268
7 changes: 6 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ jobs:
path: dist/*
retention-days: 7

- name: Fix Cache Permissions
run: |
sudo -n chmod -R 0777 /tmp/build-cache || true

build_and_test_cpu_mac:
name: Build and Test macos (CPU)
needs: check_files
Expand Down Expand Up @@ -283,7 +287,8 @@ jobs:
uses: actions/cache@v3
if: needs.check_files.outputs.run_job == 'true'
with:
path: ${{ env.LocalAppData }}/build-cache
# env.LocalAppData is not usable according to actions/cache README
path: ~/AppData/Local/build-cache
key: build-cache-win64-cpu-${{ github.sha }}
restore-keys: |
build-cache-win64-cpu-
Expand Down