🌐 Crowdin Download #3899
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
# @format | |
--- | |
name: "🌐 Crowdin Download" | |
on: | |
schedule: | |
- cron: "0 */4 * * *" | |
workflow_dispatch: {} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_PAT }} | |
CROWDIN_PROJECT: ${{ secrets.CROWDIN_PROJECT }} | |
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }} | |
jobs: | |
download: | |
runs-on: ubuntu-latest | |
environment: Crowdin | |
timeout-minutes: 30 | |
concurrency: | |
group: ci-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: "⤵️ Check out code from GitHub" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "🚀 Crowdin Download" | |
uses: crowdin/[email protected] | |
with: | |
upload_sources: false | |
upload_translations: false | |
download_translations: true | |
github_user_name: ${{ secrets.ACTIONS_USER }} | |
github_user_email: ${{ secrets.ACTIONS_MAIL }} |