Skip to content
Permalink
Browse files

avoid name conflicts across forks for the workflow cache

  • Loading branch information
3nids committed Feb 9, 2021
1 parent d66b41a commit 26844e79177264629f8392ea88ff67ab675ebb59
Showing with 2 additions and 2 deletions.
  1. +2 −2 .github/workflows/macos-build.yml
@@ -48,11 +48,11 @@ jobs:
if: github.event_name == 'pull_request'
with:
path: ${{ env.CCACHE_DIR }}
key: build-mac-ccache-${{ github.head_ref }}-${{ github.sha }}
key: build-mac-ccache-${{ github.repository_owner }}-${{ github.head_ref }}-${{ github.sha }}
# The head_ref or source branch of the pull request in a workflow run.
# The base_ref or target branch of the pull request in a workflow run.
restore-keys: |
build-mac-ccache-${{ github.head_ref }}-
build-mac-ccache-${{ github.repository_owner }}-${{ github.head_ref }}-
build-mac-ccache-${{ github.base_ref }}-
build-mac-ccache-refs/heads/master-

0 comments on commit 26844e7

Please sign in to comment.