diff options
| author | 2021-10-15 02:16:28 +0200 | |
|---|---|---|
| committer | 2021-10-15 15:12:14 +0200 | |
| commit | 07b82427ab8b8b29e03a75e399f3ca60d77259e7 (patch) | |
| tree | 90b46a3bbd3b7817c69cf65d6464507560e1bafa /.github | |
| parent | Merge pull request #6774 from lat9nq/remove-global-yuzu (diff) | |
| download | yuzu-07b82427ab8b8b29e03a75e399f3ca60d77259e7.tar.gz yuzu-07b82427ab8b8b29e03a75e399f3ca60d77259e7.tar.xz yuzu-07b82427ab8b8b29e03a75e399f3ca60d77259e7.zip | |
.ci: Use Github Actions to update translation source files
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..d3400670a --- /dev/null +++ b/.github/workflows/ci.yml | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | name: yuzu-ci | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: [ master ] | ||
| 6 | tags: [ "*" ] | ||
| 7 | pull_request: | ||
| 8 | branches: [ master ] | ||
| 9 | |||
| 10 | jobs: | ||
| 11 | transifex: | ||
| 12 | runs-on: ubuntu-latest | ||
| 13 | container: yuzuemu/build-environments:linux-transifex | ||
| 14 | if: ${{ github.repository == 'yuzu-emu/yuzu' && !github.head_ref }} | ||
| 15 | steps: | ||
| 16 | - uses: actions/checkout@v2 | ||
| 17 | with: | ||
| 18 | submodules: recursive | ||
| 19 | fetch-depth: 0 | ||
| 20 | - name: Update Translation | ||
| 21 | run: ./.ci/scripts/transifex/docker.sh | ||
| 22 | env: | ||
| 23 | TRANSIFEX_API_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }} | ||