mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 03:44:24 +01:00
c70e1d0247
I did some tests on my own fork, and we're writing to ~/.transifexrc but the client can't seem to read that file. maybe issue with $HOME or something. Workaround is to set TX_TOKEN environment variable and now the pesky ~/.transifexrc file is not needed.
34 lines
815 B
YAML
34 lines
815 B
YAML
# SPDX-FileCopyrightText: 2021 yuzu Emulator Project
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
name: yuzu-ci
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
tags: [ "*" ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
transifex:
|
|
runs-on: ubuntu-latest
|
|
container: yuzuemu/build-environments:linux-transifex
|
|
if: ${{ github.repository == 'yuzu-emu/yuzu' && !github.head_ref }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 0
|
|
- name: Update Translation
|
|
run: ./.ci/scripts/transifex/docker.sh
|
|
env:
|
|
TX_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }}
|
|
|
|
reuse:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'yuzu-emu/yuzu' }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: fsfe/reuse-action@v1
|