1
1
name :Update po/pot files
2
2
3
+ env :
4
+ # branch name of python-docs-ja repository
5
+ DOCS_BRANCH :" 3.10"
6
+ # branch name of cpython repository
7
+ CPYTHON_BRANCH :" 3.10"
8
+ # branch name of cpython-doc-catalog repository
9
+ CATALOG_BRANCH :" catalog-3.10"
10
+ # Transifex project name
11
+ TRANSIFEX_PROJECT :" python-newest"
12
+
3
13
on :workflow_dispatch
4
14
# schedule:
5
15
# - cron: "0 9 * * *"
6
16
7
17
jobs :
18
+
8
19
Org-Preparation :
9
20
runs-on :ubuntu-latest
10
- env :
11
- # branch name of python-docs-ja repository
12
- DOCS_BRANCH :" 3.10"
13
- # branch name of cpython repository
14
- CPYTHON_BRANCH :" 3.10"
15
- # branch name of cpython-doc-catalog repository
16
- CATALOG_BRANCH :" catalog-3.10"
17
- # Transifex project name
18
- TRANSIFEX_PROJECT :" python-newest"
19
-
21
+
20
22
steps :
21
23
-name :Check out the repo
22
24
uses :actions/checkout@v2
@@ -37,16 +39,19 @@ jobs:
37
39
-name :Setup tx
38
40
run :mv "${GITHUB_WORKSPACE}/files/.transifexrc" ~/.transifexrc
39
41
40
- -uses :actions/checkout@v2
41
- -name :Run scripts
42
- run :|
43
- # make files rnnable
44
- chmod +x "${GITHUB_WORKSPACE}/scripts/upload-catalog.sh"
45
- chmod +x "${GITHUB_WORKSPACE}/scripts/renew-catalog-template.sh"
46
-
47
- # run scrits
48
- "${GITHUB_WORKSPACE}/scripts/upload-catalog.sh"
49
- "${GITHUB_WORKSPACE}/scripts/renew-catalog-template.sh"
42
+ Renew-Upload-Catalog :
43
+ runs-on :ubuntu-latest
44
+
45
+ steps :
46
+ -name :Check out the repo
47
+ uses :actions/checkout@v2
48
+
49
+ Upload-Catalog :
50
+ runs-on :ubuntu-latest
51
+
52
+ steps :
53
+ -name :Check out the repo
54
+
50
55
51
56
52
57