ci: Properly check if cache was restored

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2021-10-05 22:01:10 +02:00
parent f0ccb6dd43
commit 7e39f613e0

View file

@ -73,7 +73,7 @@ jobs:
build/libaom build/libaom
key: libaom-${{ matrix.id }}-${{ env.LIBAOM_VERSION }}-${{ secrets.CACHE_VERSION }} key: libaom-${{ matrix.id }}-${{ env.LIBAOM_VERSION }}-${{ secrets.CACHE_VERSION }}
- name: "libaom: Install" - name: "libaom: Install"
if: "steps.libaom-cache.outputs.cache-hit != 'true'" if: ${{ steps.libaom-cache.outputs.cache-hit != 'true' }}
id: libaom-install id: libaom-install
shell: bash shell: bash
run: | run: |
@ -248,7 +248,7 @@ jobs:
/usr/local/Cellar/qt@5 /usr/local/Cellar/qt@5
key: qt-${{ matrix.id }}-${{ env.QT_VERSION }}-${{ secrets.CACHE_VERSION }} key: qt-${{ matrix.id }}-${{ env.QT_VERSION }}-${{ secrets.CACHE_VERSION }}
- name: "qt: Install" - name: "qt: Install"
if: "steps.qt-cache.outputs.cache-hit != 'true'" if: ${{ steps.qt-cache.outputs.cache-hit != 'true' }}
shell: bash shell: bash
run: | run: |
brew install qt@5 brew install qt@5