2024-03-21 23:11:52 -05:00
|
|
|
# SPDX-FileCopyrightText: 2021 yuzu Emulator Project
|
2024-03-21 23:57:42 -05:00
|
|
|
# SPDX-FileCopyrightText: 2024 suyu Emulator Project
|
2024-03-21 23:11:52 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2024-03-21 23:57:42 -05:00
|
|
|
# Actions Documentation: https://forgejo.org/docs/next/user/actions/#list-of-tasks-in-a-repository
|
|
|
|
|
|
|
|
name: suyu-ci
|
2024-03-21 23:11:52 -05:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-03-21 23:57:42 -05:00
|
|
|
branches: [ dev ]
|
2024-03-21 23:11:52 -05:00
|
|
|
tags: [ "*" ]
|
|
|
|
pull_request:
|
2024-03-21 23:57:42 -05:00
|
|
|
branches: [ dev ]
|
2024-03-21 23:11:52 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
transifex:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: yuzuemu/build-environments:linux-transifex
|
2024-03-21 23:57:42 -05:00
|
|
|
if: ${{ GITHUB_REPOSITORY == 'yuzu-emu/yuzu' && !GITHUB_HEAD_REF }}
|
2024-03-21 23:11:52 -05:00
|
|
|
steps:
|
2024-03-21 23:57:42 -05:00
|
|
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
2024-03-21 23:11:52 -05:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
fetch-depth: 0
|
2024-03-21 23:57:42 -05:00
|
|
|
# - name: Update Translation
|
|
|
|
# run: ./.ci/scripts/transifex/docker.sh
|
|
|
|
# env:
|
|
|
|
# TX_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }}
|
2024-03-21 23:11:52 -05:00
|
|
|
|
|
|
|
reuse:
|
|
|
|
runs-on: ubuntu-latest
|
2024-03-21 23:57:42 -05:00
|
|
|
if: ${{ GITHUB_REPOSITORY == 'suyu/suyu' }}
|
2024-03-21 23:11:52 -05:00
|
|
|
steps:
|
2024-03-21 23:57:42 -05:00
|
|
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
|
|
|
- uses: https://github.com/fsfe/reuse-action@v1
|