Meshtastic-Android/.github/workflows/crowdin-upload-translations.yml
renovate[bot] 4da518d9bc
chore(deps): update actions/checkout action to v5 (#2684)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 14:45:24 +00:00

26 lines
790 B
YAML

name: Crowdin Upload Translations Action
on:
workflow_dispatch: # Allow manual triggering
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
if: github.repository == 'meshtastic/Meshtastic-Android'
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Upload translations with Crowdin
uses: crowdin/github-action@v2
with:
base_url: 'https://meshtastic.crowdin.com/api/v2'
config: 'config/crowdin/crowdin.yml'
upload_sources: fals
upload_translations: true
download_translations: false
crowdin_branch_name: 'main'
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}