Crowdin Build #18261
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 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 |