summaryrefslogtreecommitdiff
path: root/.github/workflows/translations-update.yml
diff options
context:
space:
mode:
authorAlexandre FLAMENT <alexandre.flament@hesge.ch>2022-11-04 14:22:30 +0000
committerAlexandre FLAMENT <alexandre.flament@hesge.ch>2022-11-04 14:25:15 +0000
commit46aaa57cfe97cac6330dad6df6e483981d734a0a (patch)
treeb507975d9c849fa44fdec23b975a206bb6e6cd6a /.github/workflows/translations-update.yml
parentbc1278d25e73778f863ae3bd57d6f36692d31dfb (diff)
downloadsearxng-46aaa57cfe97cac6330dad6df6e483981d734a0a.tar.gz
searxng-46aaa57cfe97cac6330dad6df6e483981d734a0a.zip
GH workflow: use actions/cache@v3
Also cache ./.nvm and ./node_modules
Diffstat (limited to '.github/workflows/translations-update.yml')
-rw-r--r--.github/workflows/translations-update.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/translations-update.yml b/.github/workflows/translations-update.yml
index 60a067918..bf1e11813 100644
--- a/.github/workflows/translations-update.yml
+++ b/.github/workflows/translations-update.yml
@@ -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 }}