fix(ci): 跳过测试并修复依赖图上传工作流在GitHub Actions工作流中,Maven打包步骤现在跳过测试以加快构建速度并避免不必要的依赖。此外,修复了上传依赖图的步骤,以确保其在构建过程中正确执行。

This commit is contained in:
suyiiyii 2024-08-17 02:06:05 +08:00
parent 7528d960f1
commit 734960d031

View File

@ -28,8 +28,10 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: maven
- run: mvn -B test --file pom.xml
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package -DskipTests --file pom.xml
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
# - name: Update dependency graph