mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
CI: Update crowdin and setup-node
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user