Skip to content

Commit

Permalink
update GH cache action (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
martimlobao authored Jan 31, 2024
1 parent 709f758 commit 21ca92a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions init-pants/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@ runs:
- name: Cache Pants setup
id: cache-pants-setup
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ steps.pants_bootstrap_cache.outputs.pants_bootstrap_cache_dir }}
key: pants-setup-${{ steps.pants_bootstrap_cache.outputs.pants_bootstrap_cache_key }}

- name: Cache Pants named caches
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ inputs.named-caches-location }}
key: pants-named-caches-${{ runner.os }}-${{ inputs.gha-cache-key }}-${{ hashFiles('pants.toml') }}-${{ inputs.named-caches-hash }}
Expand Down Expand Up @@ -163,7 +163,7 @@ runs:

- name: Cache Pants LMDB store
if: inputs.cache-lmdb-store == 'true'
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-pants-lmdb-store
with:
path: ${{ inputs.lmdb-store-location }}
Expand Down
2 changes: 1 addition & 1 deletion pyenv/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
using: composite
steps:
- name: Cache Pyenv
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ runner.tool_cache }}/pyenv_root
key: ${{ matrix.os }}-${{ runner.arch }}-install-pyenv-${{ inputs.pyenv-version }}-${{ inputs.python-version }}-v1
Expand Down

0 comments on commit 21ca92a

Please sign in to comment.