Skip to content

Commit 2b61136

Browse files
committed
CR improvements
Signed-off-by: Oktawian Chojnacki <oktawian@me.com>
1 parent 02d7a18 commit 2b61136

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/generate-playground.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Generate Playground Files
1+
name: Generate Playground Files and READMES
22

33
# Controls when the action will run. Triggers the workflow on push or pull request
44
# events but only for the master branch
@@ -9,7 +9,7 @@ on:
99
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1010
jobs:
1111
# This workflow contains a single job called "build"
12-
generate-english-playground:
12+
generate-playgrounds:
1313
# The type of runner that the job will run on
1414
runs-on: macos-latest
1515

@@ -18,10 +18,11 @@ jobs:
1818
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1919
- uses: actions/checkout@v2
2020

21-
# Checkout to chinese branch & Generate Chinese
22-
- name: Generate English Readme
21+
# Checkout & Generate
22+
- name: Generate playgrounds and readmes
2323
run: |
2424
./generate-playground.sh
25+
./generate-playground-cn.sh
2526
2627
# Commit
2728
- name: Commit files
@@ -38,8 +39,8 @@ jobs:
3839
force: false
3940

4041
# This workflow contains a single job called "build"
41-
generate-chinese-playground-and-branch:
42-
needs: generate-english-playground
42+
generate-chinese-branch:
43+
needs: generate-playgrounds
4344
# The type of runner that the job will run on
4445
runs-on: macos-latest
4546

@@ -48,7 +49,7 @@ jobs:
4849
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
4950
- uses: actions/checkout@v2
5051

51-
# Checkout to chinese branch & Generate Chinese
52+
# Checkout & Generate
5253
- name: Generate Chinese Readme
5354
run: |
5455
./generate-playground-cn.sh

0 commit comments

Comments
 (0)