diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index f2b50f4..9000571 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -37,7 +37,7 @@ jobs: cached: ${{ steps.cache-qt.outputs.cache-hit }} - uses: actions/checkout@v2 with: - fetch-depth: 1 + fetch-depth: 0 submodules: 'true' ssh-key: ${{ secrets.BOT_SSH_KEY }} # 编译 diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index e5e4cfd..6913772 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -42,7 +42,7 @@ jobs: run: sudo apt-get install -y libglew-dev libglfw3-dev - uses: actions/checkout@v2 with: - fetch-depth: 1 + fetch-depth: 0 submodules: 'true' ssh-key: ${{ secrets.BOT_SSH_KEY }} - name: Build Ubuntu diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 561fd73..86cbbf8 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -66,7 +66,7 @@ jobs: # 拉取代码 - uses: actions/checkout@v2 with: - fetch-depth: 1 + fetch-depth: 0 submodules: 'true' ssh-key: ${{ secrets.BOT_SSH_KEY }} # 编译msvc