Crowdin Download Translations #322
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 Download Translations | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 6 * * 1,4' | |
jobs: | |
download: | |
name: Download Translations | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Download Translations | |
env: | |
CROWDIN_AUTH_TOKEN: ${{ secrets.ZAPBOT_CROWDIN_TOKEN }} | |
ZAPBOT_TOKEN: ${{ secrets.ZAPBOT_TOKEN }} | |
run: ./gradlew crowdinDownloadProjectTranslation && ./gradlew deployCrowdinTranslations |