Update path for Qt to make caching work (#6281)

This commit is contained in:
Magne Sjaastad 2020-08-09 09:19:40 +02:00 committed by GitHub
parent 385ac3e386
commit 105deba056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -15,13 +15,14 @@ jobs:
id: cache-qt
uses: actions/cache@v2
with:
path: ../Qt
path: ${{ github.workspace }}/Qt/
key: ${{ runner.os }}-QtCache
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: 5.9.9
modules: qtscript
dir: '${{ github.workspace }}/Qt/'
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Install Linux dependencies
if: "contains( matrix.os, 'ubuntu')"

View File

@ -92,17 +92,18 @@ jobs:
- name: Add buildcache to system path
run: echo "::add-path::${{ github.workspace }}/bin"
- name: Cache Qt
- name: Cache Qt
id: cache-qt
uses: actions/cache@v2
with:
path: ../Qt
path: ${{ github.workspace }}/Qt/
key: ${{ matrix.config.os }}-QtCache-v02
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: 5.9.9
modules: qtscript
dir: '${{ github.workspace }}/Qt/'
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Install Python dependencies
run: |