This is an automated email from the ASF dual-hosted git repository.
zhonghongsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new c236a57a50c ci: consolidate build and test steps in workflow (#38240)
c236a57a50c is described below
commit c236a57a50ca24942eb136b5f346bab1dc786c6e
Author: Hongsheng Zhong <[email protected]>
AuthorDate: Fri Feb 27 18:04:43 2026 +0800
ci: consolidate build and test steps in workflow (#38240)
* ci: consolidate build and test steps in workflow
* workflow: update dependencies for prepare-e2e-artifacts job
---
.github/workflows/ci.yml | 6 ++----
.github/workflows/e2e-operation.yml | 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7a9e7534616..092ee75045d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -55,7 +55,5 @@ jobs:
steps:
- uses: actions/[email protected]
- uses: ./.github/workflows/resources/actions/setup-build-environment
- - name: Build Project with Maven
- run: ./mvnw clean install -B -ntp -DskipTests -T1C
- - name: Run Tests
- run: ./mvnw install -T1C -B -ntp -fae
+ - name: Build and Run Tests
+ run: ./mvnw clean install -T1C -B -ntp -fae
diff --git a/.github/workflows/e2e-operation.yml
b/.github/workflows/e2e-operation.yml
index d86a6eaf6d4..e34dddcc50f 100644
--- a/.github/workflows/e2e-operation.yml
+++ b/.github/workflows/e2e-operation.yml
@@ -52,7 +52,7 @@ jobs:
prepare-e2e-artifacts:
name: Prepare E2E Artifacts
if: github.repository == 'apache/shardingsphere' &&
needs.detect-changed-files.outputs.changed_operations != '[]'
- needs: global-environment
+ needs: [ global-environment, detect-changed-files ]
runs-on: ubuntu-latest
timeout-minutes: 40
steps: