Skip to content

Commit

Permalink
Cache Qt
Browse files Browse the repository at this point in the history
  • Loading branch information
elsid committed Mar 6, 2024
1 parent ea612c4 commit fef5d2d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,20 @@ jobs:

- run: mkdir -p ${{ github.workspace }}/Qt

- name: Cache Qt
id: qt-cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/Qt/6.7.0/msvc2019_64
key: qt-cache-6.7.0-msvc2019_64-v1

- working-directory: ${{ github.workspace }}/Qt
run: curl --fail --retry 3 -L -o aqt_x64.exe https://github.com/miurahr/aqtinstall/releases/download/v3.1.12/aqt_x64.exe
if: steps.qt-cache.outputs.cache-hit != 'true'

- working-directory: ${{ github.workspace }}/Qt
run: .\aqt_x64.exe install-qt windows desktop 6.7.0 win64_msvc2019_64
if: steps.qt-cache.outputs.cache-hit != 'true'

- run: dir ${{ github.workspace }}

Expand Down Expand Up @@ -209,11 +218,20 @@ jobs:

- run: mkdir -p ${{ github.workspace }}/Qt

- name: Cache Qt
id: qt-cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/Qt/6.7.0/msvc2019_64
key: qt-cache-6.7.0-msvc2019_64-v1

- working-directory: ${{ github.workspace }}/Qt
run: curl --fail --retry 3 -L -o aqt_x64.exe https://github.com/miurahr/aqtinstall/releases/download/v3.1.12/aqt_x64.exe
if: steps.qt-cache.outputs.cache-hit != 'true'

- working-directory: ${{ github.workspace }}/Qt
run: .\aqt_x64.exe install-qt windows desktop 6.7.0 win64_msvc2019_64
if: steps.qt-cache.outputs.cache-hit != 'true'

- run: dir ${{ github.workspace }}

Expand Down

0 comments on commit fef5d2d

Please sign in to comment.