Skip to content

fix(deps): update dependency zhon to <3.0.0,>=2.1.1 (#573) #186

fix(deps): update dependency zhon to <3.0.0,>=2.1.1 (#573)

fix(deps): update dependency zhon to <3.0.0,>=2.1.1 (#573) #186

Workflow file for this run

name: compile-files
on:
push:
branches:
- main
jobs:
compile-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
with:
files_yaml: |
po:
- "**/LC_MESSAGES/*.po"
requirements:
- "pyproject.toml"
- "packaging/requirements-pyinstaller.in"
- name: Set up Python
if: steps.changed-files.outputs.po_any_changed == 'true' || steps.changed-files.outputs.requirements_any_changed == 'true'
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Compile catalogs
if: steps.changed-files.outputs.po_any_changed == 'true'
run: |
pip install babel setuptools
cd scripts
python batch_compile_catalog.py
- name: Compile requirements.txt
if: steps.changed-files.outputs.requirements_any_changed == 'true'
run: |
pip install uv
uv pip compile --universal --extra desktop --extra ujson --extra lxml --extra ruamel_yaml -U --no-annotate --no-header pyproject.toml packaging/requirements-pyinstaller.in -o packaging/requirements.txt
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: compile files