mame/.github/workflows/language.yml
Vas Crabb 669b1f6ade -docs: Started documenting plugins.
* Also added a couple of missing command-line options, and added a local
  table of contents to the (rather long) command line options page.

-Added a separate CI target for localisation updates that produces an
 artefact, and removed the message catalogs from the trigger paths for
 the Linux CI build.
2021-10-24 05:48:05 +11:00

23 lines
564 B
YAML

name: Compile UI translations
on:
push:
paths:
- '.github/**'
- 'language/**'
pull_request:
paths:
- '.github/**'
- 'language/**'
jobs:
build-language:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Compile message catalogs
run: for x in language/*/*.po ; do python scripts/build/msgfmt.py --output-file "`dirname "$x"`/`basename "$x" .po`.mo" "$x" ; done
- uses: actions/upload-artifact@master
with:
name: mame-language-${{ github.sha }}
path: language/*/*.mo