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
2 changed files with 5 additions and 3 deletions

View File

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

View File

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