chore: Update translations from Crowdin #1932
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: Upload source texts to Crowdin | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
crowdin: | |
runs-on: ubuntu-latest | |
if: github.repository == 'ruffle-rs/ruffle' | |
strategy: | |
max-parallel: 1 # Should be 1 to avoid parallel builds | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install -y itstool gettext appstream | |
- name: Generate desktop & metainfo sources | |
working-directory: desktop/packages/linux | |
run: | | |
make update | |
- name: Crowdin push | |
uses: crowdin/github-action@v2 | |
with: | |
config: 'crowdin.yml' | |
upload_sources: true | |
upload_translations: false | |
download_translations: false | |
env: | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |