summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
blob: aa58248249845fbb07470919685bfa1ac578bc10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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:
          TRANSIFEX_API_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