summaryrefslogtreecommitdiff
path: root/.github/workflows/translations-update.yml
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-11-05 11:14:09 +0100
committerGitHub <noreply@github.com>2022-11-05 11:14:09 +0100
commitd3a7399ed737e43311d800df3b10fb1ff142cc64 (patch)
treec37cbaa255a391cd93e457b47591e9e07e389d94 /.github/workflows/translations-update.yml
parentfc9986de0a21b01c1c8e342a9c4c8c6b96cc7ea2 (diff)
parentb5ce39b5368f755329c3b0c4daa4245247deaa73 (diff)
Merge pull request #1929 from dalf/github_workflow_update
GH workflow: various improvements
Diffstat (limited to '.github/workflows/translations-update.yml')
-rw-r--r--.github/workflows/translations-update.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/translations-update.yml b/.github/workflows/translations-update.yml
index c3120ce1e..bf1e11813 100644
--- a/.github/workflows/translations-update.yml
+++ b/.github/workflows/translations-update.yml
@@ -16,16 +16,19 @@ jobs:
fetch-depth: '0'
token: ${{ secrets.WEBLATE_GITHUB_TOKEN }}
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: '3.9'
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 }}