File tree 3 files changed +13
-6
lines changed 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
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
-
8
5
pip3 install --user setuptools
9
6
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
10
7
sudo apt-get update
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- tx=$( realpath ./tx)
4
3
cd 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 14
14
LOCALE : zh_CN
15
15
VERSION : " 3.12"
16
16
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
18
29
- name : prepare
19
30
run : .github/scripts/prepare.sh
20
31
- name : update
You can’t perform that action at this time.
0 commit comments