ci.yml 815 B

123456789101112131415161718192021222324252627282930313233
  1. # SPDX-FileCopyrightText: 2021 yuzu Emulator Project
  2. # SPDX-License-Identifier: GPL-2.0-or-later
  3. name: yuzu-ci
  4. on:
  5. push:
  6. branches: [ master ]
  7. tags: [ "*" ]
  8. pull_request:
  9. branches: [ master ]
  10. jobs:
  11. transifex:
  12. runs-on: ubuntu-latest
  13. container: yuzuemu/build-environments:linux-transifex
  14. if: ${{ github.repository == 'yuzu-emu/yuzu' && !github.head_ref }}
  15. steps:
  16. - uses: actions/checkout@v3
  17. with:
  18. submodules: recursive
  19. fetch-depth: 0
  20. - name: Update Translation
  21. run: ./.ci/scripts/transifex/docker.sh
  22. env:
  23. TX_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }}
  24. reuse:
  25. runs-on: ubuntu-latest
  26. if: ${{ github.repository == 'yuzu-emu/yuzu' }}
  27. steps:
  28. - uses: actions/checkout@v3
  29. - uses: fsfe/reuse-action@v1