File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 22
33set -ex
44
5- git clone --depth=1 --branch=" $VERSION " https://github.com/python/cpython cpython
6- git clone --branch=" $VERSION " https://github.com/" $GITHUB_REPOSITORY " docs
7-
85pip3 install --user setuptools
96curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
107sudo apt-get update
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- tx=$( realpath ./tx)
43cd docs || exit 1
5- $tx pull --languages " $LOCALE " -t --use-git-timestamps
4+ $( realpath ../tx ) pull --languages " $LOCALE " -t --use-git-timestamps --worker 25
Original file line number Diff line number Diff line change 1414 LOCALE : zh_CN
1515 VERSION : " 3.12"
1616 steps :
17- - uses : actions/checkout@v2
17+ - uses : actions/checkout@v3
18+ - name : Checkout CPython
19+ uses : actions/checkout@v3
20+ with :
21+ repository : ' python/cpython'
22+ ref : ${{env.VERSION}}
23+ path : cpython
24+ - name : Checkout Current Files
25+ uses : actions/checkout@v3
26+ with :
27+ ref : ${{env.VERSION}}
28+ path : docs
1829 - name : prepare
1930 run : .github/scripts/prepare.sh
2031 - name : update
You can’t perform that action at this time.
0 commit comments