Skip to content
Permalink
Browse files

fix caching of build directory for mac workflow

  • Loading branch information
3nids committed Feb 9, 2021
1 parent ae32b3d commit c2b7c0b658a26fa9c94ecea3d450bcef9686c2d0
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 c2b7c0b

Please sign in to comment.