mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 18:40:31 +00:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
35 lines
685 B
YAML
35 lines
685 B
YAML
# Upload sources to Crowdin for translation
|
|
|
|
name: Crowdin Workflow
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'intl/*_us.h'
|
|
- 'intl/*_us.json'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup Java JDK
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: 1.8
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v4
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Crowdin Sync
|
|
shell: bash
|
|
env:
|
|
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
|
|
run: |
|
|
cd intl
|
|
python3 crowdin_sync.py "$CROWDIN_API_KEY"
|