chore: update app version to v3.4.3 (34300)
#128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Crowdin sync | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "dev" ] | |
schedule: | |
- cron: "0 17 * * 5" | |
jobs: | |
sync-crowdin: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: dev | |
fetch-depth: 0 | |
- name: Crowdin sync | |
uses: crowdin/github-action@v2.0.0 | |
with: | |
create_pull_request: false | |
localization_branch_name: "l10n" | |
commit_message: "feat(l10n): update translations" | |
upload_sources: true | |
upload_translations: true | |
download_translations: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | |
- name: Checkout l10n branch | |
uses: actions/checkout@v4 | |
continue-on-error: true # so the workflow still "succeeds" | |
id: l10n | |
with: | |
ref: l10n | |
path: l10n | |
- uses: actions/setup-node@v4 | |
if: success() | |
with: | |
node-version: 22 | |
- name: Clean untranslated files | |
if: success() | |
run: | | |
cd l10n | |
node .github/crowdin-clean.mjs | |
git config user.name Crowdin Bot | |
git config user.email support+bot@crowdin.com | |
git add ./app/src/main/res | |
git commit -m "chore(l10n): clean untranslated files" | |
git push |