name: Crowdin  download Action

on:
  schedule:
    - cron: "10 23 * * *"
  workflow_dispatch:

jobs:
  download-crowdin-exo:
    name: CI Build
    uses: exoplatform/swf-scripts/.github/workflows/download-crowdin-exoplatform.yml@master
    with:
      CROWDIN_MAINTENANCE_EXO_VERSION: ${{ vars.CROWDIN_MAINTENANCE_EXO_VERSION }}
      YML_CROWDIN_LANGUAGES_ARG: ${{vars.YML_CROWDIN_LANGUAGES_ARG}}
      CROWDIN_LANGUAGES_ARG: ${{vars.CROWDIN_LANGUAGES_ARG}}
    secrets:
      CROWDIN_GITHUB_TOKEN: ${{ secrets.CROWDIN_GITHUB_TOKEN }}
      CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
      CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
      SWF_GPG_PRIVATE_KEY: ${{ secrets.SWF_GPG_PRIVATE_KEY }}
      SWF_GPG_PASSPHRASE: ${{ secrets.SWF_GPG_PASSPHRASE }}
