Skip to content

Commit

Permalink
ci: cache previous releases if running linux64 variant
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kwvg committed Feb 25, 2025
1 parent cca0d89 commit 5db8fa0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ jobs:
with:
name: ${{ inputs.bundle-key }}

- name: Manage releases cache
uses: actions/cache@v4
if: inputs.build-target == 'linux64'
with:
path: |
releases
key: releases-${{ hashFiles('ci/test/00_setup_env_native_qt5.sh', 'test/get_previous_releases.py') }}

- name: Run functional tests
id: test
run: |
Expand Down

0 comments on commit 5db8fa0

Please sign in to comment.