1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-19 19:46:17 +02:00

Add wildcard

This commit is contained in:
Kosei Kitahara 2019-11-01 01:21:44 +09:00
parent 4056deb9b0
commit 8a5e2357ea
No known key found for this signature in database
GPG key ID: D18883191F02241B

View file

@ -129,7 +129,7 @@ Use with virtual environments.
- uses: actions/cache@preview
with:
path: .venv
key: ${{ runner.os }}-pip-${{ hashFiles(format('{0}/{1}', github.workspace, 'requirements.txt')) }}
key: ${{ runner.os }}-pip-${{ hashFiles(format('{0}/{1}', github.workspace, '**/requirements.txt')) }}
restore-keys: |
${{ runner.os }}-pip-
- run: |