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