Skip to content

Commit

Permalink
mcb-update-actions - Test new cache v4
Browse files Browse the repository at this point in the history
  • Loading branch information
M-casado committed Jun 24, 2024
1 parent ac83ed1 commit fdb9de5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/json_validation_deploying_biovalidator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
python-version: '3.x'

- name: Cache pip
uses: actions/cache@v3
uses: actions/cache@v4
with:
# On subsequent runs, if the cache key matches (i.e., operating system and the hash of the requirements.txt file),
# the dependencies are restored from the cache instead of being downloaded and installed again.
Expand All @@ -91,6 +91,8 @@ jobs:
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
# If there is no cache for this key, we create it at the end of the run, even if there was an error mid-way
save-always: true

- name: Install dependencies
run: |
Expand Down

0 comments on commit fdb9de5

Please sign in to comment.