Skip to content

Commit 689dfd2

Browse files
authored
updated workflows to jurplel/install-qt-action@v3 (danmar#4708)
* updated workflows to `jurplel/install-qt-action@v3` * release-windows.yml: removed installation of unavailable `qthelp` module * release-windows.yml: do not hard-code `tools_openssl_x64` version
1 parent c2de984 commit 689dfd2

File tree

4 files changed

+12
-41
lines changed

4 files changed

+12
-41
lines changed

.github/workflows/CI-windows.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,12 @@ jobs:
3232
with:
3333
arch: x64 # no 32-bit Qt available
3434

35-
- name: Cache Qt ${{ matrix.qt_ver }}
36-
id: cache-qt
37-
uses: actions/cache@v1 # not v2!
38-
with:
39-
path: ../Qt
40-
key: Windows-QtCache-${{ matrix.qt_ver }}-qtcharts
41-
4235
- name: Install Qt ${{ matrix.qt_ver }}
43-
uses: jurplel/install-qt-action@v2
36+
uses: jurplel/install-qt-action@v3
4437
with:
45-
aqtversion: '==2.0.6'
4638
version: ${{ matrix.qt_ver }}
4739
modules: 'qtcharts'
48-
cached: ${{ steps.cache-qt.outputs.cache-hit }}
40+
cache: true
4941

5042
- name: Build GUI release (qmake)
5143
if: startsWith(matrix.qt_ver, '5')

.github/workflows/clang-tidy.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,12 @@ jobs:
3232
sudo ./llvm.sh 15
3333
sudo apt-get install -y clang-tidy-15
3434
35-
- name: Cache Qt ${{ env.QT_VERSION }}
36-
id: cache-qt
37-
uses: actions/cache@v1 # not v2!
38-
with:
39-
path: ../Qt
40-
key: Linux-QtCache-${{ env.QT_VERSION }}-qtcharts
41-
4235
- name: Install Qt ${{ env.QT_VERSION }}
43-
uses: jurplel/install-qt-action@v2
36+
uses: jurplel/install-qt-action@v3
4437
with:
4538
version: ${{ env.QT_VERSION }}
4639
modules: 'qtcharts'
47-
cached: ${{ steps.cache-qt.outputs.cache-hit }}
40+
cache: true
4841

4942
- name: Verify clang-tidy configuration
5043
run: |

.github/workflows/release-windows.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ on:
1212
- cron: '0 0 * * *'
1313
workflow_dispatch:
1414

15-
permissions:
16-
contents: read
15+
permissions:
16+
contents: read
1717

1818
defaults:
1919
run:
@@ -60,22 +60,15 @@ jobs:
6060
copy pcre.h ..\externals || exit /b !errorlevel!
6161
copy Release\pcre.lib ..\externals\pcre64.lib || exit /b !errorlevel!
6262
63-
- name: Cache Qt ${{ env.QT_VERSION }}
64-
id: cache-qt
65-
uses: actions/cache@v1 # not v2!
66-
with:
67-
path: ../Qt
68-
key: Windows-QtCache-${{ env.QT_VERSION }}-qtcharts-qthelp-openssl
69-
7063
# available modules: https://github.com/miurahr/aqtinstall/blob/master/docs/getting_started.rst#installing-modules
7164
# available tools: https://github.com/miurahr/aqtinstall/blob/master/docs/getting_started.rst#installing-tools
7265
- name: Install Qt ${{ env.QT_VERSION }}
73-
uses: jurplel/install-qt-action@v2
66+
uses: jurplel/install-qt-action@v3
7467
with:
7568
version: ${{ env.QT_VERSION }}
76-
modules: 'qtcharts qthelp'
77-
tools: 'tools_openssl_x64,1.1.1-10,qt.tools.openssl.win_x64'
78-
cached: ${{ steps.cache-qt.outputs.cache-hit }}
69+
modules: 'qtcharts'
70+
tools: 'tools_openssl_x64,qt.tools.openssl.win_x64'
71+
cache: true
7972

8073
- name: Create .qm
8174
run: |

.github/workflows/selfcheck.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,12 @@ jobs:
3333
sudo apt-get update
3434
sudo apt-get install clang-14 valgrind
3535
36-
- name: Cache Qt ${{ env.QT_VERSION }}
37-
id: cache-qt
38-
uses: actions/cache@v1 # not v2!
39-
with:
40-
path: ../Qt
41-
key: Linux-QtCache-${{ env.QT_VERSION }}-qtcharts
42-
4336
- name: Install Qt ${{ env.QT_VERSION }}
44-
uses: jurplel/install-qt-action@v2
37+
uses: jurplel/install-qt-action@v3
4538
with:
4639
version: ${{ env.QT_VERSION }}
4740
modules: 'qtcharts'
48-
cached: ${{ steps.cache-qt.outputs.cache-hit }}
41+
cache: true
4942

5043
# TODO: cache this - perform same build as for the other self check
5144
- name: Self check (build)

0 commit comments

Comments
 (0)