ci:简化 reset阶段的配置

-移除了 publish 阶段的依赖
- 删除了 CI_COMMIT_MESSAGE 的正则表达式检查
- 精简了 script部分的内容
This commit is contained in:
gewuyou 2025-07-19 20:13:58 +08:00
parent 0bccdc0952
commit a0cf6e63b6

View File

@ -5,7 +5,7 @@ stages:
publish: publish:
stage: publish stage: publish
rules: rules:
- if: '$CI_COMMIT_BRANCH == "test" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event")' - if: '$CI_COMMIT_BRANCH == "test" && $CI_COMMIT_AUTHOR != "Project Pipeline Bot"'
script: script:
- echo "🔧 授予 gradlew 执行权限..." - echo "🔧 授予 gradlew 执行权限..."
- chmod +x gradlew - chmod +x gradlew