(file_progress_show_total): use 'copied_bytes' to show numeric value.
[midnight-commander.git] / .github / workflows / transifex.yml
blob1c7579ff8ff89a9fea2144b8d6dadb459b447958
1 name: transifex
3 on:
4   push:
5     branches:
6       - master
8 jobs:
9   transifex-upload:
11     runs-on: ubuntu-latest
12     timeout-minutes: 15
14     steps:
15       - uses: actions/checkout@v3
17       - name: Install gettext & po4a
18         run: sudo apt-get install -y gettext po4a
20       - name: Install modern Transifex client
21         run: |
22           mkdir -p $HOME/.local/bin && cd $HOME/.local/bin
23           curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
24           echo "${HOME}/.local/bin" >> $GITHUB_PATH
26       - run: ./maint/sync-transifex/po-to-transifex.py
27         env:
28           TX_TOKEN: ${{ secrets.TX_TOKEN }}
30       - run: ./maint/sync-transifex/hints-to-transifex.py
31         env:
32           TX_TOKEN: ${{ secrets.TX_TOKEN }}