Skip to content
Permalink
Browse files
[chore] Only store valid caches for macos builds
  • Loading branch information
m-kuhn committed Nov 20, 2021
1 parent b64990d commit f45aa7a319602d4d6dc8fcec5a80f0443afb5887
Showing with 4 additions and 4 deletions.
  1. +4 −4 .github/workflows/macos-build.yml
@@ -58,10 +58,10 @@ jobs:
# Qt caching
- name: Cache Qt
id: cache-qt
uses: pat-s/always-upload-cache@v2.1.5
uses: actions/cache@v2.1.6
with:
path: ${{ env.DEPS_CACHE_DIR }}/Qt/${{ env.QT_VERSION }}
key: mac-qt-v4-${{ env.QT_VERSION }}
key: mac-qt-${{ env.QT_VERSION }}

- name: Restore Qt
if: steps.cache-qt.outputs.cache-hit == 'true'
@@ -81,10 +81,10 @@ jobs:
# QGIS-deps caching
- name: Cache qgis-deps
id: cache-deps
uses: pat-s/always-upload-cache@v2.1.5
uses: actions/cache@v2.1.6
with:
path: ${{ env.DEPS_CACHE_DIR }}/QGIS/qgis-deps-${{ env.QGIS_DEPS_VERSION }}.${{ env.QGIS_DEPS_PATCH_VERSION }}
key: mac-qgis-deps-v4-${{ env.QGIS_DEPS_VERSION }}.${{ env.QGIS_DEPS_PATCH_VERSION }}
key: mac-qgis-deps-${{ env.QGIS_DEPS_VERSION }}.${{ env.QGIS_DEPS_PATCH_VERSION }}

- name: Restore qgis-deps
if: steps.cache-deps.outputs.cache-hit == 'true'

0 comments on commit f45aa7a

Please sign in to comment.