mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-29 02:40:33 -07:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
38 lines
884 B
YAML
38 lines
884 B
YAML
name: Update Translation Catalog
|
|
on:
|
|
# schedule:
|
|
# - cron: 0 0 * * 1
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update_translation:
|
|
name: Update translation
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- name: Install gettext
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y gettext
|
|
|
|
- name: Update translation catalog
|
|
run: |
|
|
./scripts/run_gettext.sh --full
|
|
git add localization/i18n/*
|
|
|
|
- name: Commit translation catalog updates
|
|
uses: qoomon/actions--create-commit@v1
|
|
id: commit
|
|
with:
|
|
message: Update translation catalog
|
|
skip-empty: true
|
|
|
|
- name: Push changes
|
|
run: git push
|