mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
CI: Update crowdin and setup-node
This commit is contained in:
parent
16c03d85c9
commit
f9775fd17b
2 changed files with 3 additions and 5 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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 }}
|
||||
|
|
4
.github/workflows/translations.yml
vendored
4
.github/workflows/translations.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue