Skip to content

Commit 9a418e0

Browse files
[Fix] CI deprecated cache action (#658)
* update cache action in the elephant data cache action
1 parent be33aa4 commit 9a418e0

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
run: |
8989
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT
9090
91-
- uses: actions/cache/restore@v4.0.2
91+
- uses: actions/cache/restore@v4.2.2
9292
# Loading cache of elephant-data
9393
id: cache-datasets
9494
with:
@@ -148,7 +148,7 @@ jobs:
148148
run: |
149149
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT
150150
151-
- uses: actions/cache/restore@v4.0.2
151+
- uses: actions/cache/restore@v4.2.2
152152
# Loading cache of elephant-data
153153
id: cache-datasets
154154
with:
@@ -213,7 +213,7 @@ jobs:
213213
run: |
214214
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT
215215
216-
- uses: actions/cache/restore@v4.0.2
216+
- uses: actions/cache/restore@v4.2.2
217217
# Loading cache of elephant-data
218218
id: cache-datasets
219219
with:
@@ -279,7 +279,7 @@ jobs:
279279
run: |
280280
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT
281281
282-
- uses: actions/cache/restore@v4.0.2
282+
- uses: actions/cache/restore@v4.2.2
283283
# Loading cache of elephant-data
284284
id: cache-datasets
285285
with:
@@ -346,7 +346,7 @@ jobs:
346346
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
347347
348348
- name: Cache pip
349-
uses: actions/cache@v4
349+
uses: actions/cache@v4.2.2
350350
with:
351351
path: ${{ steps.pip-cache.outputs.dir }}
352352

@@ -357,7 +357,7 @@ jobs:
357357
run: |
358358
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT
359359
360-
- uses: actions/cache/restore@v4.0.2
360+
- uses: actions/cache/restore@v4.2.2
361361
# Loading cache of elephant-data
362362
id: cache-datasets
363363
with:
@@ -431,7 +431,7 @@ jobs:
431431
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
432432
433433
- name: Cache pip
434-
uses: actions/cache@v4
434+
uses: actions/cache@v4.2.2
435435
with:
436436
path: ${{ steps.pip-cache.outputs.dir }}
437437
# Look to see if there is a cache hit for the corresponding requirements files
@@ -497,7 +497,7 @@ jobs:
497497
python-version: ${{ matrix.python-version }}
498498

499499
- name: Cache test_env
500-
uses: actions/cache@v4
500+
uses: actions/cache@v4.2.2
501501
with:
502502
path: ~/test_env
503503
# Look to see if there is a cache hit for the corresponding requirements files

.github/workflows/cache_elephant_data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT
2525
26-
- uses: actions/cache@v4.0.2
26+
- uses: actions/cache@v4.2.2
2727
# Loading cache of elephant-data
2828
id: cache-datasets
2929
with:

0 commit comments

Comments
 (0)