Skip to content

Commit 5db8fa0

Browse files
committed
ci: cache previous releases if running linux64 variant
We don't offer alternate restore keys because get_previous_releases.py bails if it already finds a 'releases' directory present, so a cache miss is desirable to allow the script to re-fetch them.
1 parent cca0d89 commit 5db8fa0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test-src.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ jobs:
3838
with:
3939
name: ${{ inputs.bundle-key }}
4040

41+
- name: Manage releases cache
42+
uses: actions/cache@v4
43+
if: inputs.build-target == 'linux64'
44+
with:
45+
path: |
46+
releases
47+
key: releases-${{ hashFiles('ci/test/00_setup_env_native_qt5.sh', 'test/get_previous_releases.py') }}
48+
4149
- name: Run functional tests
4250
id: test
4351
run: |

0 commit comments

Comments
 (0)