Skip to content
Permalink
Browse files

fix caching of build directory for mac workflow

  • Loading branch information
3nids committed Feb 15, 2021
1 parent 4cda7b7 commit d4b9c7402487332d449475441a1ef091f0130e4a
Showing with 2 additions and 2 deletions.
  1. +2 −2 .github/workflows/macos-build.yml
@@ -44,7 +44,7 @@ jobs:
uses: pat-s/always-upload-cache@v2.1.3
if: github.event_name == 'pull_request'
with:
path: /ccache
path: ${{ env.CCACHE_DIR }}
key: build-mac-ccache-${{ 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.
@@ -58,7 +58,7 @@ jobs:
uses: pat-s/always-upload-cache@v2.1.3
if: github.event_name != 'pull_request'
with:
path: /ccache
path: ${{ env.CCACHE_DIR }}
# The branch or tag ref that triggered the workflow run. For branches this in the format refs/heads/<branch_name>, and for tags it is refs/tags/<tag_name>
key: build-mac-ccache-${{ github.ref }}-${{ github.sha }}
restore-keys: |

0 comments on commit d4b9c74

Please sign in to comment.