mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 00:43:42 +02:00
38 lines
992 B
Text
38 lines
992 B
Text
name: Transifex
|
|
on:
|
|
push:
|
|
branches: [master, ]
|
|
|
|
|
|
jobs:
|
|
Push-To-Transifex:
|
|
name: Update translations on Transifex
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout source code
|
|
uses: actions/checkout@master
|
|
with:
|
|
fetch-depth: 2
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@master
|
|
with:
|
|
python-version: 3.8
|
|
|
|
- name: Install calibre dependencies
|
|
run:
|
|
python setup/unix-ci.py install
|
|
|
|
- name: Install translations dependencies
|
|
run:
|
|
python -m pip install -U transifex-client sphinx
|
|
|
|
- name: Bootstrap calibre
|
|
run: python setup/unix-ci.py bootstrap
|
|
|
|
- name: Update translations
|
|
env:
|
|
tx: ${{ secrets.tx }}
|
|
CI: "true"
|
|
run:
|
|
python setup/unix-ci.py pot
|