Browse Source
Merge pull request #9085 from Docteh/TX_TOKEN
Set TX_TOKEN for transifex client
pull/15/merge
Morph
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
10 deletions
-
.ci/scripts/transifex/docker.sh
-
.github/workflows/ci.yml
|
|
|
@ -3,14 +3,6 @@ |
|
|
|
# SPDX-FileCopyrightText: 2021 yuzu Emulator Project |
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later |
|
|
|
|
|
|
|
# Setup RC file for tx |
|
|
|
cat << EOF > ~/.transifexrc |
|
|
|
[https://www.transifex.com] |
|
|
|
rest_hostname = https://rest.api.transifex.com |
|
|
|
token = $TRANSIFEX_API_TOKEN |
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
set -x |
|
|
|
|
|
|
|
echo -e "\e[1m\e[33mBuild tools information:\e[0m" |
|
|
|
|
|
|
|
@ -19,11 +19,11 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
submodules: recursive |
|
|
|
fetch-depth: 0 |
|
|
|
fetch-depth: 0 |
|
|
|
- name: Update Translation |
|
|
|
run: ./.ci/scripts/transifex/docker.sh |
|
|
|
env: |
|
|
|
TRANSIFEX_API_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }} |
|
|
|
TX_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }} |
|
|
|
|
|
|
|
reuse: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|