Skip to content

Commit

Permalink
invalidate cache daily
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Nov 14, 2023
1 parent 77c7df5 commit 2ad1b96
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions {{cookiecutter.project_name}}/.github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
environment-file: ci/combined-environment-ci.yml
environment-name: DEVELOP
cache-environment: true
cache-environment-key: environment-${{ '{{ steps.date.outputs.date }}' }}
cache-downloads-key: downloads-${{ '{{ steps.date.outputs.date }}' }}
create-args: >-
python=${{ '{{ matrix.python-version }}' }}
- name: Install package
Expand All @@ -89,6 +91,8 @@ jobs:
environment-file: ci/combined-environment-ci.yml
environment-name: DEVELOP
cache-environment: true
cache-environment-key: environment-${{ '{{ steps.date.outputs.date }}' }}
cache-downloads-key: downloads-${{ '{{ steps.date.outputs.date }}' }}
create-args: >-
python=3.10
- name: Install package
Expand All @@ -113,6 +117,8 @@ jobs:
environment-file: ci/combined-environment-ci.yml
environment-name: DEVELOP
cache-environment: true
cache-environment-key: environment-${{ '{{ steps.date.outputs.date }}' }}
cache-downloads-key: downloads-${{ '{{ steps.date.outputs.date }}' }}
create-args: >-
python=3.10
- name: Install package
Expand Down Expand Up @@ -145,6 +151,8 @@ jobs:
environment-file: ci/combined-environment${{ '{{ matrix.extra }}' }}.yml
environment-name: DEVELOP${{ '{{ matrix.extra }}' }}
cache-environment: true
cache-environment-key: environment-${{ '{{ steps.date.outputs.date }}' }}
cache-downloads-key: downloads-${{ '{{ steps.date.outputs.date }}' }}
create-args: >-
python=${{ '{{ matrix.python-version }}' }}
- name: Install package
Expand Down

0 comments on commit 2ad1b96

Please sign in to comment.