File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ jobs:
3535 numpy-version : ' 1.20.3'
3636 steps :
3737 - name : Set up Python ${{ matrix.python-version }}
38- uses : actions/setup-python@v2
38+ uses : actions/setup-python@v4
3939 with :
4040 python-version : ${{ matrix.python-version }}
4141
4242 - name : Checkout repository
43- uses : actions/checkout@v2
43+ uses : actions/checkout@v3
4444
4545 - name : Install numpy ${{ matrix.numpy-version }}
4646 run : |
Original file line number Diff line number Diff line change @@ -27,24 +27,24 @@ jobs:
2727 steps :
2828
2929 - name : Checkout repository
30- uses : actions/checkout@v2
30+ uses : actions/checkout@v3
3131
3232 - name : Get current year-month
3333 id : date
34- run : echo "::set-output name= date:: $(date +'%Y-%m')"
34+ run : echo "date= $(date +'%Y-%m')" >> $GITHUB_OUTPUT
3535
3636 - name : Get ephy_testing_data current head hash
3737 # the key depend on the last commit repo https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git
38- id : vars
38+ id : ephy_testing_data_hash
3939 run : |
40- echo "::set-output name=HASH_EPHY_DATASET:: $(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)"
40+ echo "latest_hash= $(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)" >> GITHUB_OUTPUT
4141
4242 - uses : actions/cache@v3
4343 # Loading cache of ephys_testing_dataset
4444 id : cache-datasets
4545 with :
4646 path : ~/ephy_testing_data
47- key : ${{ runner.os }}-datasets-${{ steps.vars .outputs.HASH_EPHY_DATASET }}
47+ key : ${{ runner.os }}-datasets-${{ steps.ephy_testing_data_hash .outputs.latest_hash }}
4848
4949 - uses : conda-incubator/setup-miniconda@v2
5050 with :
You can’t perform that action at this time.
0 commit comments