From 70d1f70cca40af3f1382ea3bb2e1a0bd4561f5c1 Mon Sep 17 00:00:00 2001 From: BruceChen Date: Sat, 28 Jan 2023 15:03:31 +0800 Subject: [PATCH] Update Crowdin related github action --- .github/workflows/build-and-release.yml | 2 +- .github/workflows/deploy-doc-only.yml | 6 +++--- ...translations-only.yml => update-translations-only.yml} | 8 ++++---- .gitignore | 1 + 4 files changed, 9 insertions(+), 8 deletions(-) rename .github/workflows/{sync-translations-only.yml => update-translations-only.yml} (79%) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 5e74359a..3f48dbb0 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -26,7 +26,7 @@ jobs: submodules: 'true' - name: Download translations from crowdin - uses: crowdin/github-action@1.5.0 + uses: crowdin/github-action@1.6.0 with: upload_sources: true upload_translations: false diff --git a/.github/workflows/deploy-doc-only.yml b/.github/workflows/deploy-doc-only.yml index 52707f29..b794284f 100644 --- a/.github/workflows/deploy-doc-only.yml +++ b/.github/workflows/deploy-doc-only.yml @@ -17,10 +17,10 @@ jobs: fetch-depth: 0 submodules: 'true' - - name: Sync translations from crowdin - uses: crowdin/github-action@1.5.0 + - name: Download translations from crowdin + uses: crowdin/github-action@1.6.0 with: - upload_sources: true + upload_sources: false upload_translations: false download_translations: true diff --git a/.github/workflows/sync-translations-only.yml b/.github/workflows/update-translations-only.yml similarity index 79% rename from .github/workflows/sync-translations-only.yml rename to .github/workflows/update-translations-only.yml index 104876b5..c47ea685 100644 --- a/.github/workflows/sync-translations-only.yml +++ b/.github/workflows/update-translations-only.yml @@ -1,4 +1,4 @@ -name: Sync Translations +name: Upload translation sources on: workflow_dispatch: @@ -15,12 +15,12 @@ jobs: fetch-depth: 0 submodules: 'true' - - name: Sync translations from crowdin - uses: crowdin/github-action@1.5.0 + - name: Upload translation sources to crowdin + uses: crowdin/github-action@1.6.0 with: upload_sources: true upload_translations: false - download_translations: true + download_translations: false localization_branch_name: l10n_master create_pull_request: false diff --git a/.gitignore b/.gitignore index 22033cc8..fc8f35e0 100644 --- a/.gitignore +++ b/.gitignore @@ -415,3 +415,4 @@ FodyWeavers.xsd !/docs/.vuepress/translations/en.json /docs/l10n/ +/docs/.vuepress/public/MCC-README/