Skip to content

Commit

Permalink
Upgrade deprecated GH Action cache@v2 (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova authored Dec 18, 2024
1 parent 51ca581 commit 0977fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
pip install -e .[dev,extended_tasks,multilingual]
- name: Get cached files
uses: actions/cache@v2
uses: actions/cache@v4
id: get-cache
with:
path: "cache"
Expand All @@ -41,7 +41,7 @@ jobs:
run: | # PYTHONPATH="${PYTHONPATH}:src" HF_DATASETS_CACHE="cache/datasets" HF_HOME="cache/models"
python -m pytest --disable-pytest-warnings
- name: Write cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: "cache"
key: test-cache-HF

0 comments on commit 0977fde

Please sign in to comment.