From bc1278d25e73778f863ae3bd57d6f36692d31dfb Mon Sep 17 00:00:00 2001 From: Alexandre FLAMENT Date: Fri, 4 Nov 2022 08:37:31 +0000 Subject: GH workflow: use actions/setup-python@v4 GitHub displays this warning with the actions/setup-python@2 : Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/translations-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/translations-update.yml') diff --git a/.github/workflows/translations-update.yml b/.github/workflows/translations-update.yml index c3120ce1e..60a067918 100644 --- a/.github/workflows/translations-update.yml +++ b/.github/workflows/translations-update.yml @@ -16,7 +16,7 @@ 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' -- cgit v1.2.3 From 46aaa57cfe97cac6330dad6df6e483981d734a0a Mon Sep 17 00:00:00 2001 From: Alexandre FLAMENT Date: Fri, 4 Nov 2022 14:22:30 +0000 Subject: GH workflow: use actions/cache@v3 Also cache ./.nvm and ./node_modules --- .github/workflows/translations-update.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.github/workflows/translations-update.yml') 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 }} -- cgit v1.2.3