bsnes-libretro/.github/workflows/crowdin_prep.yml
DisasterMo 62add9672b Fix Crowdin config & workflow
Also add new languages and update translation scripts
2022-11-28 13:12:34 +01:00

37 lines
857 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:
- 'bsnes/target-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 "bsnes-libretro" "bsnes/target-libretro/libretro_core_options.h"