Skip to content

🌐 Crowdin Download #3184

🌐 Crowdin Download

🌐 Crowdin Download #3184

# @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 }}