Skip to content

Commit db991e1

Browse files
committed
cache qt6
1 parent 2982afa commit db991e1

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/create-release.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,13 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- name: Install dependencies
22-
run: sudo apt-get install qt6-base-dev
21+
- name: Install Qt via install-qt-action
22+
uses: jurplel/install-qt-action@v4
23+
with:
24+
version: '6.9'
25+
host: linux
26+
target: desktop
27+
cache: true
2328

2429
- name: Configure CMake
2530
run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
@@ -37,8 +42,13 @@ jobs:
3742
steps:
3843
- uses: actions/checkout@v4
3944

40-
- name: Install dependencies
41-
run: sudo apt-get install -qq qtbase5-dev
45+
- name: Install Qt via install-qt-action
46+
uses: jurplel/install-qt-action@v4
47+
with:
48+
version: '6.9'
49+
host: linux
50+
target: desktop
51+
cache: true
4252

4353
- name: Configure CMake
4454
run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
@@ -49,7 +59,6 @@ jobs:
4959
- name: Package artifacts
5060
run: |
5161
mkdir -p release
52-
# Copy the memsc binary
5362
cp ${{ github.workspace }}/build/memsc release/ || echo "Warning: memsc not found"
5463
tar czf memsc-${{ github.ref_name }}.tar.gz release
5564

0 commit comments

Comments
 (0)