mirror of
https://github.com/holub/mame
synced 2025-07-24 18:51:00 +03:00
27 lines
595 B
YAML
27 lines
595 B
YAML
name: Compile UI translations
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.github/**'
|
|
- 'language/**'
|
|
pull_request:
|
|
paths:
|
|
- '.github/**'
|
|
- 'language/**'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
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
|