Skip to content

Crowdin Download Translations #229

Crowdin Download Translations

Crowdin Download Translations #229

name: Crowdin Download Translations
on:
workflow_dispatch:
schedule:
- cron: '30 6 * * 1,4'
jobs:
download:
name: Download Translations
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Download Translations
env:
CROWDIN_AUTH_TOKEN: ${{ secrets.ZAPBOT_CROWDIN_TOKEN }}
ZAPBOT_TOKEN: ${{ secrets.ZAPBOT_TOKEN }}
run: ./gradlew crowdinDownloadProjectTranslation && ./gradlew deployCrowdinTranslations