CI: Update crowdin and setup-node

This commit is contained in:
JustArchi 2021-02-22 18:57:36 +01:00
parent 16c03d85c9
commit f9775fd17b
2 changed files with 3 additions and 5 deletions

View file

@ -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 }}

View file

@ -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