calibre/.github/workflows/translations.yml.disabled
Kovid Goyal f4340d2191
Disable the translations workflow
Too hard getting it working on python2, wait till the py3 branch is
merged.
2020-07-31 23:29:08 +05:30

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