Improve Flathub metainfo #25
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: "Build tranlations" | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'OpenNumismat/**.py' | |
- '!OpenNumismat/resources/resources.py' | |
# pull_request: | |
# branches: | |
# - main | |
# types: [closed] | |
# paths: | |
# - 'src/**.py' | |
# - '!src/resources.py' | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
resources: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pyside6 | |
- name: py2ts | |
run: | | |
python misc/py2ts.py | |
- name: Commit & Push changes | |
uses: actions-js/push@v1.4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: master | |
message: i18n |