mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
GH workflow: use actions/cache@v3
Also cache ./.nvm and ./node_modules
This commit is contained in:
parent
bc1278d25e
commit
46aaa57cfe
2 changed files with 35 additions and 17 deletions
9
.github/workflows/translations-update.yml
vendored
9
.github/workflows/translations-update.yml
vendored
|
|
@ -22,10 +22,13 @@ jobs:
|
|||
architecture: 'x64'
|
||||
- name: Cache Python dependencies
|
||||
id: cache-python
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ./local
|
||||
key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }}
|
||||
path: |
|
||||
./local
|
||||
./.nvm
|
||||
./node_modules
|
||||
key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py','.nvmrc', 'package.json') }}
|
||||
- name: weblate & git setup
|
||||
env:
|
||||
WEBLATE_CONFIG: ${{ secrets.WEBLATE_CONFIG }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue