瀏覽代碼

Add option for checkout code

rusdacent 5 年之前
父節點
當前提交
ee1e4bbabd
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .github/workflows/ci.yml

+ 2 - 1
.github/workflows/ci.yml

@@ -13,7 +13,8 @@ jobs:
       - name: Checkout code
         uses: actions/checkout@v2
         with:
-            submodules: true
+          fetch-depth: 0
+          submodules: true
       - uses: satackey/action-docker-layer-caching@v0.0.8
         continue-on-error: true
         with: