minor change to item description #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Push translation template" | |
concurrency: push_transifex | |
on: | |
push: | |
branches: | |
- master | |
- lua | |
paths: | |
- '**.json' | |
- 'src/**.cpp' | |
- 'src/**.h' | |
- 'lang/extract_json_strings.py' | |
- 'lang/strip_line_numbers.py' | |
- 'lang/update_pot.sh' | |
- 'lang/unicode_check.py' | |
jobs: | |
push-template: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: "Install dependencies" | |
run: | | |
sudo apt-get update | |
sudo apt-get install gettext python3-pip | |
sudo pip3 install transifex-client | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- name: "Generate translation template" | |
run: | | |
lang/update_pot.sh | |
- name: "Push translation template" | |
env: | |
TOKEN: ${{ secrets.TX_TOKEN }} | |
run: | | |
export TX_TOKEN=$TOKEN | |
tx push --source --no-interactive --resource cataclysm-dda.master-cataclysm-dda | |
unset TX_TOKEN | |
unset TOKEN |