Skip to content

Crowdin Build

Crowdin Build #18284

Workflow file for this run

name: Crowdin Build
on:
workflow_dispatch:
push:
schedule:
- cron: '0 */2 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: ['7.4']
steps:
- uses: actions/checkout@v4
- name: Setup PHP with composer v2
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: composer:v2
- name: Install dependencies
run: composer install --no-progress
- name: Generate configuration
env:
CROWDIN_ACCESS_TOKEN: ${{ secrets.CROWDIN_ACCESS_TOKEN }}
run: |
php app.php setup
- name: Build all projects
env:
CROWDIN_ACCESS_TOKEN: ${{ secrets.CROWDIN_ACCESS_TOKEN }}
run: php app.php meta:build