Genesis-Plus-GX/.github/workflows/crowdin_prep.yml
DisasterMo 3bac8a470e Fix Crowdin config & workflow
Also add new languages and update translation scripts
2022-12-11 15:06:28 +01:00

37 lines
837 B
YAML

# Prepare source texts & upload them to Crowdin
name: Crowdin Source Texts Upload
# on change to the English texts
on:
push:
branches:
- master
paths:
- 'libretro/libretro_core_options.h'
jobs:
upload_source_file:
runs-on: ubuntu-latest
steps:
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
java-version: 18
distribution: zulu
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Checkout
uses: actions/checkout@v3
- name: Upload Source
shell: bash
env:
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
run: |
python3 intl/upload_workflow.py $CROWDIN_API_KEY "Genesis-Plus-GX" "libretro/libretro_core_options_intl.h"