File tree Expand file tree Collapse file tree 3 files changed +994
-994
lines changed
Expand file tree Collapse file tree 3 files changed +994
-994
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - ' *'
7+ workflow_dispatch :
78jobs :
89 update-translation :
910 runs-on : ubuntu-latest
@@ -16,16 +17,17 @@ jobs:
1617 access_token : ${{ secrets.GITHUB_TOKEN }}
1718 - uses : actions/setup-python@master
1819 with :
19- python-version : ' 3.9 '
20+ python-version : 3
2021 - run : sudo apt-get install -y gettext
21- - run : pip install 'transifex-client>=0.14' requests
22+ - run : pip install requests
2223 - uses : actions/checkout@master
2324 with :
2425 ref : ${{ matrix.version }}
2526 - run : ./manage_translation.py recreate_tx_config
2627 env :
2728 TX_TOKEN : ${{ secrets.TX_TOKEN }}
28- - run : echo -e '[https://www.transifex.com]\napi_hostname = https://api.transifex.com\nhostname = https://www.transifex.com\nusername = api' > $HOME/.transifexrc
29+ - run : curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
30+ working-directory : /usr/local/bin
2931 - run : ./manage_translation.py fetch
3032 env :
3133 TX_TOKEN : ${{ secrets.TX_TOKEN }}
You can’t perform that action at this time.
0 commit comments