From f9775fd17bcfe037136f3541815821fc1bfdf146 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Mon, 22 Feb 2021 18:57:36 +0100 Subject: [PATCH] CI: Update crowdin and setup-node --- .github/workflows/ci.yml | 4 ++-- .github/workflows/translations.yml | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 111e2dab3..02da52fd7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: run: dotnet --info - name: Setup Node.js with npm - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ env.NODE_JS_VERSION }} @@ -70,7 +70,7 @@ jobs: - name: Upload latest strings for translation on Crowdin continue-on-error: true if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && startsWith(matrix.os, 'ubuntu-') }} - uses: crowdin/github-action@1.0.9 + uses: crowdin/github-action@1.0.19 with: crowdin_branch_name: main project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }} diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 2e5935d29..010c02b22 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -25,7 +25,7 @@ jobs: git reset --hard origin/master - name: Download latest translations from Crowdin - uses: crowdin/github-action@1.0.9 + uses: crowdin/github-action@1.0.19 with: upload_sources: false download_translations: true @@ -34,8 +34,6 @@ jobs: crowdin_branch_name: main project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }} token: ${{ secrets.ASF_CROWDIN_API_TOKEN }} - env: - GITHUB_TOKEN: 'not-used' # TODO: https://github.com/crowdin/github-action/pull/30 - name: Commit the changes to wiki shell: sh