Skip to content

Add tohsakarat/post-camera #2463

Add tohsakarat/post-camera

Add tohsakarat/post-camera #2463

Workflow file for this run

name: Verify config
on:
pull_request:
schedule:
- cron: '1 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
- name: Get current time for cache
run: echo "DATE=$(date "+%F")" >> $GITHUB_ENV
- name: Cache builder
id: builder-cache
uses: actions/cache@v4
with:
path: builder
key: ${{ runner.os }}-builder-${{ env.DATE }}
restore-keys: |
${{ runner.os }}-builder-
- name: Checkout builder
run: git clone https://github.com/rob006-software/flarum-translations-builder.git builder || git -C builder pull
- name: Install builder dependencies
run: composer install --working-dir builder
- name: Update
run: builder/yii translations/update "@app/../config.php" --update=0
- name: Diff
run: git add -A . && git diff HEAD