feat(ci): macos, use compilation cache

This commit is contained in:
rudy
2022-04-25 09:28:55 +02:00
committed by rudy-6-4
parent e9345b3859
commit c7bf93c388

View File

@@ -217,6 +217,8 @@ jobs:
with:
path: /Users/runner/Library/Caches/ccache
key: ${{ runner.os }}-compilation-cache-${{ github.sha }}
restore-keys: |
${{ runner.os }}-compilation-cache-
- name: Cache compilation (pull_request)
if: github.event_name == 'pull_request'
@@ -224,6 +226,8 @@ jobs:
with:
path: /Users/runner/Library/Caches/ccache
key: ${{ runner.os }}-compilation-cache-${{ github.event.pull_request.base.sha }}
restore-keys: |
${{ runner.os }}-compilation-cache-
- name: Get tmpdir path
if: github.event_name == 'push'