ruffle/.github/workflows/upload_texts.yml

28 lines
618 B
YAML
Raw Normal View History

2023-05-16 17:47:09 +00:00
name: Upload source texts to Crowdin
on:
push:
branches: [ master ]
jobs:
crowdin:
runs-on: ubuntu-latest
if: github.repository == 'ruffle-rs/ruffle'
2023-05-16 17:47:09 +00:00
strategy:
max-parallel: 1 # Should be 1 to avoid parallel builds
steps:
- name: Checkout
uses: actions/checkout@v4
2023-05-16 17:47:09 +00:00
- name: Crowdin push
uses: crowdin/github-action@v2
2023-05-16 17:47:09 +00:00
with:
config: 'crowdin.yml'
upload_sources: true
upload_translations: false
download_translations: false
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}