This is an automated email from the ASF dual-hosted git repository.
terrymanu 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 0a146726cc4 Remove redundant nightly workflow output (#40078)
0a146726cc4 is described below
commit 0a146726cc40ea00167c402efe4f3e248ace001e
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Oct 6 17:27:14 2026 +0800
Remove redundant nightly workflow output (#40078)
---
.github/workflows/nightly-e2e-operation.yml | 6 +++---
.github/workflows/reusable-global-environment.yml | 4 ----
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/nightly-e2e-operation.yml
b/.github/workflows/nightly-e2e-operation.yml
index 7d0cc38c635..04821185d9e 100644
--- a/.github/workflows/nightly-e2e-operation.yml
+++ b/.github/workflows/nightly-e2e-operation.yml
@@ -47,7 +47,7 @@ jobs:
uses: ./.github/workflows/reusable-global-environment.yml
prepare-e2e-matrix:
- if: ${{ needs.global-environment.outputs.GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE
== 'true' }}
+ if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
name: Prepare E2E Matrix
needs: global-environment
runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }}
@@ -79,7 +79,7 @@ jobs:
} >> "$GITHUB_OUTPUT"
prepare-e2e-artifacts:
- if: ${{ needs.global-environment.outputs.GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE
== 'true' }}
+ if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
name: Prepare E2E Artifacts
needs: global-environment
runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }}
@@ -108,7 +108,7 @@ jobs:
- uses: ./.github/workflows/resources/actions/upload-e2e-artifacts
e2e-operation-job:
- if: ${{ needs.global-environment.outputs.GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE
== 'true' }}
+ if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
name: E2E - ${{ matrix.operation }} on ${{ matrix.image }} with JDK ${{
matrix.java-version }}
needs: [ global-environment, prepare-e2e-matrix, prepare-e2e-artifacts ]
runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }}
diff --git a/.github/workflows/reusable-global-environment.yml
b/.github/workflows/reusable-global-environment.yml
index 05f96b69347..5b386e7af6f 100644
--- a/.github/workflows/reusable-global-environment.yml
+++ b/.github/workflows/reusable-global-environment.yml
@@ -24,8 +24,6 @@ on:
value: ${{ jobs.init-environment.outputs.GLOBAL_RUNS_ON }}
GLOBAL_JOB_ENABLED:
value: ${{ jobs.init-environment.outputs.GLOBAL_JOB_ENABLED }}
- GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE:
- value: ${{
jobs.init-environment.outputs.GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE }}
permissions:
contents: read
@@ -42,11 +40,9 @@ jobs:
run: |
echo "GLOBAL_CACHE_PREFIX=${GLOBAL_REPOSITORY//\//-}" >>
"$GITHUB_OUTPUT"
if [ "$GITHUB_REPOSITORY" = "$GLOBAL_REPOSITORY" ]; then
- echo "GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE=true" >> "$GITHUB_OUTPUT"
echo "GLOBAL_JOB_ENABLED=true" >> "$GITHUB_OUTPUT"
fi
outputs:
GLOBAL_RUNS_ON: ${{ vars.GLOBAL_RUNS_ON }}
GLOBAL_JOB_ENABLED: ${{
steps.global-environment.outputs.GLOBAL_JOB_ENABLED }}
GLOBAL_CACHE_PREFIX: ${{
steps.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE: ${{
steps.global-environment.outputs.GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE }}