Browse Source

feat: 升级 checkout 版本并加快执行速度

林轻语 4 months ago
parent
commit
b868e193e5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -21,9 +21,9 @@ jobs:
     steps:
     steps:
 
 
     - name: Checkout
     - name: Checkout
-      uses: actions/checkout@v4
+      uses: actions/checkout@v6
       with:
       with:
-        fetch-depth: 0
+        fetch-depth: 1
         submodules: true
         submodules: true
 
 
     - name: Set Describe
     - name: Set Describe