Skip to content

Commit 80aafa2

Browse files
committed
Update for install-qt-action@v3
1 parent 1848744 commit 80aafa2

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

.github/workflows/pull-request.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -136,20 +136,14 @@ jobs:
136136
tr -d '\n' < .version > temp && mv temp .version
137137
echo -n "+PR${{ github.event.pull_request.number }}" >> .version
138138
139-
- name: Cache Qt
140-
uses: actions/cache@v3
141-
id: cache-qt-windows
142-
with:
143-
path: ${{ runner.workspace }}/Qt
144-
key: ${{ runner.os }}-Qt.${{ env.QT_VERSION }}
145-
146139
- name: Install Qt
147-
uses: jurplel/install-qt-action@v2
140+
uses: jurplel/install-qt-action@v3
148141
with:
149142
version: ${{env.QT_VERSION}}
150143
target: 'desktop'
151144
arch: 'win64_msvc2019_64'
152-
cached: ${{ steps.cache-qt-windows.outputs.cache-hit }}
145+
cache: 'true'
146+
cache-key-prefix: 'cache-qt-windows'
153147

154148
- name: Cache Chocolatey downloads
155149
uses: actions/cache@v3

.github/workflows/push-master.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,20 +101,14 @@ jobs:
101101
with:
102102
submodules: true
103103

104-
- name: Cache Qt
105-
uses: actions/cache@v3
106-
id: cache-qt-windows
107-
with:
108-
path: ${{ runner.workspace }}/Qt
109-
key: ${{ runner.os }}-Qt.${{ env.QT_VERSION }}
110-
111104
- name: Install Qt
112105
uses: jurplel/install-qt-action@v3
113106
with:
114-
version: ${{ env.QT_VERSION }}
107+
version: ${{env.QT_VERSION}}
115108
target: 'desktop'
116109
arch: 'win64_msvc2019_64'
117-
cached: ${{ steps.cache-qt-windows.outputs.cache-hit }}
110+
cache: 'true'
111+
cache-key-prefix: 'cache-qt-windows'
118112

119113
- name: Cache Chocolatey downloads
120114
uses: actions/cache@v3

0 commit comments

Comments
 (0)