Skip to content

Commit cb36507

Browse files
committed
chore: update workfolw
1 parent 2c92cfa commit cb36507

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/codecov.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: checkout
10-
uses: actions/checkout@master
10+
uses: actions/checkout@v2
1111

1212
- name: cache package-lock.json
1313
uses: actions/cache@v1
@@ -40,10 +40,16 @@ jobs:
4040
runs-on: ubuntu-latest
4141
steps:
4242
- name: checkout
43-
uses: actions/checkout@master
43+
uses: actions/checkout@v2
4444
with:
4545
token: ${{ secrets.ACCESS_TOKEN }}
46-
submodules: true
46+
47+
- name: Checkout submodules
48+
uses: actions/checkout@v2
49+
with:
50+
repository: tangjinzhou/antdv-demo
51+
token: ${{ secrets.ACCESS_TOKEN }}
52+
path: antdv-demo
4753

4854
- name: restore cache from package-lock.json
4955
uses: actions/cache@v1
@@ -66,6 +72,5 @@ jobs:
6672
uses: codecov/codecov-action@v1
6773
with:
6874
token: ${{ secrets.CODECOV_TOKEN }}
69-
70-
needs: setup
7175

76+
needs: setup

0 commit comments

Comments
 (0)