Skip to content

Build

Build #211

Workflow file for this run

name: Build
on:
workflow_dispatch:
repository_dispatch:
types: [update]
schedule:
- cron: "0 1 * * *"
permissions:
contents: write
jobs:
process-translations:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Install Poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
cache-dependency-path: automation/poetry.lock
- name: Install library and dependencies
run: |
cd automation
poetry install --no-interaction --no-dev
- name: Fetch translations
run: |
git submodule init
git submodule update --remote
- name: Process po files
run: |
cd automation
poetry run process ../
- name: Push changes to the repository
uses: EndBug/add-and-commit@v9.1.3
with:
author_name: github-actions[bot]
author_email: 41898282+github-actions[bot]@users.noreply.github.com