mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
9e4e7e8a7f
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
33 lines
765 B
YAML
33 lines
765 B
YAML
name: transifex
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
transifex-upload:
|
|
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install gettext & po4a
|
|
run: sudo apt-get install -y gettext po4a
|
|
|
|
- name: Install modern Transifex client
|
|
run: |
|
|
mkdir -p $HOME/.local/bin && cd $HOME/.local/bin
|
|
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
|
|
echo "${HOME}/.local/bin" >> $GITHUB_PATH
|
|
|
|
- run: ./maint/sync-transifex/po-to-transifex.py
|
|
env:
|
|
TX_TOKEN: ${{ secrets.TX_TOKEN }}
|
|
|
|
- run: ./maint/sync-transifex/hints-to-transifex.py
|
|
env:
|
|
TX_TOKEN: ${{ secrets.TX_TOKEN }}
|