chore: ci clone submodule

This commit is contained in:
Barry 2022-06-08 21:33:16 +08:00
parent 8a8eff2615
commit d7250be9bc
3 changed files with 6 additions and 3 deletions

View file

@ -35,10 +35,11 @@ jobs:
with:
version: ${{ matrix.qt-ver }}
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 1
submodules: 'true'
ssh-key: ${{ secrets.BOT_SSH_KEY }}
# 编译
- name: Build MacOS
env:

View file

@ -40,10 +40,11 @@ jobs:
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Ubuntu install GL library
run: sudo apt-get install -y libglew-dev libglfw3-dev
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 1
submodules: 'true'
ssh-key: ${{ secrets.BOT_SSH_KEY }}
- name: Build Ubuntu
env:
ENV_QT_PATH: ${{ env.qt-install-path }}

View file

@ -64,10 +64,11 @@ jobs:
arch: ${{ matrix.qt-arch }}
cached: ${{ steps.cache-qt.outputs.cache-hit }}
# 拉取代码
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 1
submodules: 'true'
ssh-key: ${{ secrets.BOT_SSH_KEY }}
# 编译msvc
- name: Build MSVC
# shell介绍 https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell