Navigation Menu

Skip to content

Commit

Permalink
fix caching of build directory for mac workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 15, 2021
1 parent 4cda7b7 commit d4b9c74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/macos-build.yml
Expand Up @@ -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.
Expand All @@ -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: |
Expand Down

0 comments on commit d4b9c74

Please sign in to comment.