3
0
Fork 0
forked from suyu/suyu
suyu/.github/workflows/ci.yml
2024-03-06 00:19:07 +03:30

33 lines
815 B
YAML

# SPDX-FileCopyrightText: 2021 suyu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
name: suyu-ci
on:
push:
branches: [ master ]
tags: [ "*" ]
pull_request:
branches: [ master ]
jobs:
transifex:
runs-on: ubuntu-latest
container: suyuemu/build-environments:linux-transifex
if: ${{ github.repository == 'suyu-emu/suyu' && !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 == 'suyu-emu/suyu' }}
steps:
- uses: actions/checkout@v3
- uses: fsfe/reuse-action@v1