Skip to content

Commit 6eba61e

Browse files
committed
🔧 [ci] 优化 CI/CD 配置
- 调整 `ci.yaml` 中的测试命令格式,提高可读性 - 移除 `maven-central-publish.yaml` 中不必要的 `--stacktrace` 和 `--info` 参数
1 parent 35e53ef commit 6eba61e

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ jobs:
6363
run: chmod +x gradlew
6464

6565
- name: Run all tests
66-
run: ./gradlew clean test --no-daemon --stacktrace --parallel --no-build-cache --no-configuration-cache --rerun-tasks
66+
run: |
67+
./gradlew test \
68+
--no-daemon \
69+
--parallel \
70+
--no-build-cache \
71+
--no-configuration-cache
6772
env:
6873
# Testcontainers 优化配置
6974
TESTCONTAINERS_RYUK_DISABLED: false

.github/workflows/maven-central-publish.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ jobs:
6161
run: |
6262
./gradlew publishToMavenCentral \
6363
--no-daemon \
64-
--stacktrace \
65-
--info \
6664
--parallel \
6765
--no-configuration-cache \
6866
-PsigningInMemoryKeyId="${{ secrets.GPG_KEY_ID }}" \

0 commit comments

Comments
 (0)