build: 修改 submodule 获取方式

This commit is contained in:
BugKing 2020-12-03 19:57:16 +08:00 committed by GitHub
parent 57c720938d
commit 95381e91a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -18,8 +18,9 @@ jobs:
name: Build Docker Image and Push name: Build Docker Image and Push
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Checkout submodules with:
run: git submodule update --init --recursive submodules: true
- name: Inject slug/short variables - name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v3.x uses: rlespinasse/github-slug-action@v3.x
- name: Cache node modules - name: Cache node modules