update translation scripts #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: compile-catalogs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
compile-catalogs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install babel | |
run: pip install babel | |
- name: Compile catalogs | |
run: pybabel compile -d libresvip/res/locales/ -D libresvip | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: compile catalogs |