Skip to content

[732] Use Crowdin CLI instead of action on macOS runner #3

[732] Use Crowdin CLI instead of action on macOS runner

[732] Use Crowdin CLI instead of action on macOS runner #3

Workflow file for this run

name: Update Crowdin
on:
push:
branches: [ develop, task/732-migrate-to-gh-actions-crowdin-action ] # remove later, hoping it will let me test on branch
workflow_dispatch:
inputs:
test:
description: Just to force the manual trigger
required: false
default: 'trigger'
jobs:
synchronize-with-crowdin:

Check failure on line 13 in .github/workflows/update_crowdin.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/update_crowdin.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Crowdin CLI
run: brew tap crowdin/crowdin;brew install crowdin@4
shell: sh
- name: Upload Sources
run: >
crowdin upload sources
--dry-run
env:
GITHUB_TOKEN: ${{ secrets.CROWDIN_GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
# - name: Upload Translations
# uses: crowdin/github-action@v2
# with:
# upload_sources: true
# upload_translations: false
# download_translations: true
# download_bundle: 6
# localization_branch_name: crowdin/update-translations-bundle
# create_pull_request: false
# env:
# GITHUB_TOKEN: ${{ secrets.CROWDIN_GITHUB_TOKEN }}
# CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
# CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
# - name: Import Translations
# uses: ./.github/workflows/actions/run_lane
# with:
# lane: xliff_import