Skip to content

Commit

Permalink
Use more precise restore key for GH cache action
Browse files Browse the repository at this point in the history
  • Loading branch information
tczekajlo committed Sep 9, 2020
1 parent 44d288c commit 02f982f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci-model-regression-on-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ jobs:
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }}
restore-keys: ${{ runner.os }}-poetry-3.8
restore-keys: |
${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }}
${{ runner.os }}-poetry-3.8
- name: Install Dependencies 📦
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ci-model-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ jobs:
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }}
restore-keys: ${{ runner.os }}-poetry-3.8
restore-keys: |
${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }}
${{ runner.os }}-poetry-3.8
- name: Install Dependencies 📦
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
Expand Down Expand Up @@ -388,7 +390,9 @@ jobs:
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }}
restore-keys: ${{ runner.os }}-poetry-3.8
restore-keys: |
${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }}
${{ runner.os }}-poetry-3.8
- name: Install Dependencies 📦
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
Expand Down

0 comments on commit 02f982f

Please sign in to comment.