Skip to content

Commit 2200481

Browse files
authored
Update all workflows
1 parent f48c031 commit 2200481

File tree

5 files changed

+23
-90
lines changed

5 files changed

+23
-90
lines changed

.github/workflows/python-310.yml

+5-18
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,8 @@ on:
99

1010
jobs:
1111
sync:
12-
runs-on: ubuntu-latest
13-
env:
14-
LOCALE: zh_CN
15-
VERSION: "3.10"
16-
steps:
17-
- uses: actions/checkout@v2
18-
- name: prepare
19-
run: .github/scripts/prepare.sh
20-
- name: update
21-
run: .github/scripts/update.sh
22-
env:
23-
TX_TOKEN: ${{ secrets.TRANSIFEX_APIKEY }}
24-
- name: build
25-
run: .github/scripts/build.sh
26-
- name: commit
27-
run: .github/scripts/commit.sh
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
uses: ./.github/workflows/sync.yml
13+
with:
14+
version: "3.10"
15+
secrets: inherit
16+

.github/workflows/python-311.yml

+5-18
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,8 @@ on:
99

1010
jobs:
1111
sync:
12-
runs-on: ubuntu-latest
13-
env:
14-
LOCALE: zh_CN
15-
VERSION: "3.11"
16-
steps:
17-
- uses: actions/checkout@v2
18-
- name: prepare
19-
run: .github/scripts/prepare.sh
20-
- name: update
21-
run: .github/scripts/update.sh
22-
env:
23-
TX_TOKEN: ${{ secrets.TRANSIFEX_APIKEY }}
24-
- name: build
25-
run: .github/scripts/build.sh
26-
- name: commit
27-
run: .github/scripts/commit.sh
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
uses: ./.github/workflows/sync.yml
13+
with:
14+
version: "3.11"
15+
secrets: inherit
16+

.github/workflows/python-37.yml

+4-18
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,7 @@ on:
99

1010
jobs:
1111
sync:
12-
runs-on: ubuntu-latest
13-
env:
14-
LOCALE: zh_CN
15-
VERSION: "3.7"
16-
steps:
17-
- uses: actions/checkout@v2
18-
- name: prepare
19-
run: .github/scripts/prepare.sh
20-
- name: update
21-
run: .github/scripts/update.sh
22-
env:
23-
TX_TOKEN: ${{ secrets.TRANSIFEX_APIKEY }}
24-
- name: build
25-
run: .github/scripts/build.sh
26-
- name: commit
27-
run: .github/scripts/commit.sh
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
uses: ./.github/workflows/sync.yml
13+
with:
14+
version: "3.7"
15+
secrets: inherit

.github/workflows/python-38.yml

+4-18
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,7 @@ on:
99

1010
jobs:
1111
sync:
12-
runs-on: ubuntu-latest
13-
env:
14-
LOCALE: zh_CN
15-
VERSION: "3.8"
16-
steps:
17-
- uses: actions/checkout@v2
18-
- name: prepare
19-
run: .github/scripts/prepare.sh
20-
- name: update
21-
run: .github/scripts/update.sh
22-
env:
23-
TX_TOKEN: ${{ secrets.TRANSIFEX_APIKEY }}
24-
- name: build
25-
run: .github/scripts/build.sh
26-
- name: commit
27-
run: .github/scripts/commit.sh
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
uses: ./.github/workflows/sync.yml
13+
with:
14+
version: "3.8"
15+
secrets: inherit

.github/workflows/python-39.yml

+5-18
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,8 @@ on:
99

1010
jobs:
1111
sync:
12-
runs-on: ubuntu-latest
13-
env:
14-
LOCALE: zh_CN
15-
VERSION: "3.9"
16-
steps:
17-
- uses: actions/checkout@v2
18-
- name: prepare
19-
run: .github/scripts/prepare.sh
20-
- name: update
21-
run: .github/scripts/update.sh
22-
env:
23-
TX_TOKEN: ${{ secrets.TRANSIFEX_APIKEY }}
24-
- name: build
25-
run: .github/scripts/build.sh
26-
- name: commit
27-
run: .github/scripts/commit.sh
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
uses: ./.github/workflows/sync.yml
13+
with:
14+
version: "3.9"
15+
secrets: inherit
16+

0 commit comments

Comments
 (0)