Skip to content

Commit

Permalink
fix cache key, add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
p2004a committed Oct 10, 2024
1 parent d14afcd commit 524ef64
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/engine-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: bazel-remote-data-overlay
key: pr-bazel-remote-data
key: pr-bazel-remote-data-${{ matrix.system }}
- name: Mount bazel remote overlay
id: mount-overlay
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -108,6 +108,7 @@ jobs:
EOF
- name: Save
if: github.event_name != 'pull_request'
uses: namespace-actions/upload-artifact@v0
with:
name: output-${{ matrix.system }}
Expand All @@ -119,7 +120,9 @@ jobs:
docker stop remote-cache
- name: Unmount bazel remote overlay
if: always() && steps.mount-overlay.outcome == 'success'
run: sudo fusermount -u bazel-remote-data
run: |
sudo fusermount -u bazel-remote-data
ls bazel-remote-data-overlay
- name: Save pull request's bazel remote cache overlay
id: pr-cache-save
if: always() && steps.pr-cache-restore.outcome == 'success'
Expand Down

0 comments on commit 524ef64

Please sign in to comment.