diff --git a/.gitea/workflows/dev.yml b/.gitea/workflows/dev.yml index 606ec14..91cc4df 100644 --- a/.gitea/workflows/dev.yml +++ b/.gitea/workflows/dev.yml @@ -8,7 +8,9 @@ jobs: steps: - name: Checkout code - uses: http://47.109.37.87:3000/bichangxiong/checkout@v4 # 使用 Gitea 镜像 + uses: http://127.0.0.1:3000/bichangxiong/checkout@v4 # 使用 Gitea 镜像 + with: + fetch-depth: 1 # 只拉取最新一次提交 - name: Build with Maven run: mvn -B clean package -DskipTests -pl Property -am - name: cp