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 cf679627cc5 Move local GitHub Actions to .github/actions (#40087)
cf679627cc5 is described below
commit cf679627cc56cc46cce2a6aefd426673af7a2d09
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Oct 7 10:55:32 2026 +0800
Move local GitHub Actions to .github/actions (#40087)
---
.../actions/download-e2e-artifacts/action.yml | 0
.../actions/save-maven-cache/action.yml | 0
.../actions/setup-build-environment/action.yml | 4 ++--
.../actions/upload-e2e-artifacts/action.yml | 0
.../actions/upload-source-snapshot/action.yml | 0
.github/workflows/ci-graalvm.yml | 12 ++++++------
.github/workflows/ci-mcp.yml | 4 ++--
.github/workflows/ci.yml | 4 ++--
.github/workflows/e2e-agent.yml | 6 +++---
.github/workflows/e2e-mcp.yml | 22 +++++++++++-----------
.github/workflows/e2e-operation.yml | 12 ++++++------
.github/workflows/e2e-sql.yml | 16 ++++++++--------
.github/workflows/nightly-build.yml | 12 ++++++------
.github/workflows/nightly-check.yml | 10 +++++-----
.github/workflows/nightly-ci.yml | 2 +-
.github/workflows/nightly-e2e-operation.yml | 12 ++++++------
.github/workflows/nightly-e2e-sql.yml | 12 ++++++------
.github/workflows/nightly-sql-parser.yml | 2 +-
.github/workflows/release-mcp.yml | 2 +-
.github/workflows/schedule-report.yml | 4 ++--
pom.xml | 1 +
21 files changed, 69 insertions(+), 68 deletions(-)
diff --git
a/.github/workflows/resources/actions/download-e2e-artifacts/action.yml
b/.github/actions/download-e2e-artifacts/action.yml
similarity index 100%
rename from
.github/workflows/resources/actions/download-e2e-artifacts/action.yml
rename to .github/actions/download-e2e-artifacts/action.yml
diff --git a/.github/workflows/resources/actions/save-maven-cache/action.yml
b/.github/actions/save-maven-cache/action.yml
similarity index 100%
rename from .github/workflows/resources/actions/save-maven-cache/action.yml
rename to .github/actions/save-maven-cache/action.yml
diff --git
a/.github/workflows/resources/actions/setup-build-environment/action.yml
b/.github/actions/setup-build-environment/action.yml
similarity index 96%
rename from
.github/workflows/resources/actions/setup-build-environment/action.yml
rename to .github/actions/setup-build-environment/action.yml
index 4e21f9a9f84..28b36cc8047 100644
--- a/.github/workflows/resources/actions/setup-build-environment/action.yml
+++ b/.github/actions/setup-build-environment/action.yml
@@ -23,9 +23,9 @@ description: |
with support for multi-project isolation and build scope optimization.
Usage:
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
java-version: '21'
cache-suffix: 'e2e-sql'
diff --git
a/.github/workflows/resources/actions/upload-e2e-artifacts/action.yml
b/.github/actions/upload-e2e-artifacts/action.yml
similarity index 100%
rename from .github/workflows/resources/actions/upload-e2e-artifacts/action.yml
rename to .github/actions/upload-e2e-artifacts/action.yml
diff --git
a/.github/workflows/resources/actions/upload-source-snapshot/action.yml
b/.github/actions/upload-source-snapshot/action.yml
similarity index 100%
rename from
.github/workflows/resources/actions/upload-source-snapshot/action.yml
rename to .github/actions/upload-source-snapshot/action.yml
diff --git a/.github/workflows/ci-graalvm.yml b/.github/workflows/ci-graalvm.yml
index bbb05cad147..bf2541e4b29 100644
--- a/.github/workflows/ci-graalvm.yml
+++ b/.github/workflows/ci-graalvm.yml
@@ -22,7 +22,7 @@ on:
pull_request:
branches: [ master ]
paths:
- -
'.github/workflows/resources/actions/setup-build-environment/action.yml'
+ - '.github/actions/setup-build-environment/action.yml'
- '.github/workflows/graalvm.yml'
- 'infra/reachability-metadata/src/**'
- 'test/native/pom.xml'
@@ -33,7 +33,7 @@ on:
workflow_dispatch:
concurrency:
- group: ${{ github.event_name == 'schedule' && 'nightly-graalvm' || 'graalvm'
}}-${{ github.workflow }}-${{ github.ref }}
+ group: ci-graalvm-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
@@ -54,19 +54,19 @@ jobs:
fail-fast: false
matrix:
# TODO After the issue at
https://github.com/apache/shardingsphere/issues/38857 is resolved, add
`windows-latest`
- os: [ 'ubuntu-latest' ]
+ os: [ '${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }}' ]
steps:
- uses: actions/[email protected]
- name: Configure Maven for Nightly Tests
if: github.event_name == 'schedule'
run: echo "MAVEN_OPTS=-Dhttp.keepAlive=false
-Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard
-Dmaven.wagon.http.retryHandler.count=3" >> "$GITHUB_ENV"
- name: Free Disk Space on Ubuntu
- if: matrix.os == 'ubuntu-latest'
+ if: matrix.os == '${{ needs.global-environment.outputs.GLOBAL_RUNS_ON
}}'
run: ./test/native/src/test/resources/test-native/sh/free-disk-space.sh
- name: Setup Rancher Desktop without GUI on Windows Server
if: matrix.os == 'windows-latest'
run: ./test/native/src/test/resources/test-native/ps1/config-rdctl.ps1
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
distribution: 'graalvm-community'
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -75,5 +75,5 @@ jobs:
if: matrix.os == 'windows-latest'
run: ./mvnw -PgenerateMetadata -e -T 1C clean verify
- name: Run nativeTest with GraalVM CE ${{ matrix.java-version }}
- if: matrix.os == 'ubuntu-latest'
+ if: matrix.os == '${{ needs.global-environment.outputs.GLOBAL_RUNS_ON
}}'
run: ./mvnw -PnativeTestInShardingSphere -e clean verify
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.yml
index d997d13ddcf..b7c99035b00 100644
--- a/.github/workflows/ci-mcp.yml
+++ b/.github/workflows/ci-mcp.yml
@@ -22,7 +22,7 @@ on:
branches: [ master ]
paths:
- '.github/workflows/ci-mcp.yml'
- - '.github/workflows/resources/actions/setup-build-environment/**'
+ - '.github/actions/setup-build-environment/**'
- 'pom.xml'
- 'database/connector/**'
- 'mcp/**'
@@ -51,7 +51,7 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
java-version: '21'
cache-suffix: 'mcp'
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 61089cef0f6..9b81765c24f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -51,12 +51,12 @@ jobs:
ci:
name: CI
- if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
needs: global-environment
+ if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }}
timeout-minutes: 30
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
- name: Build and Run Tests
run: ./mvnw clean install -T1C -B -ntp -fae
diff --git a/.github/workflows/e2e-agent.yml b/.github/workflows/e2e-agent.yml
index 7f101a1d221..be92778ee89 100644
--- a/.github/workflows/e2e-agent.yml
+++ b/.github/workflows/e2e-agent.yml
@@ -62,7 +62,7 @@ jobs:
steps:
- uses: actions/[email protected]
- id: setup-build-environment
- uses: ./.github/workflows/resources/actions/setup-build-environment
+ uses: ./.github/actions/setup-build-environment
with:
java-version: 21
cache-suffix: 'e2e-agent'
@@ -81,7 +81,7 @@ jobs:
retention-days: 10
- name: Build JDBC E2E Image
run: ./mvnw install -DskipTests -Pe2e.env.jdbc -f
test/e2e/agent/engine/pom.xml
- - uses: ./.github/workflows/resources/actions/save-maven-cache
+ - uses: ./.github/actions/save-maven-cache
with:
cache-hit: ${{ steps.setup-build-environment.outputs.cache-hit }}
cache-primary-key: ${{
steps.setup-build-environment.outputs.cache-primary-key }}
@@ -124,7 +124,7 @@ jobs:
plugin: jaeger
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
java-version: 21
cache-suffix: 'e2e-agent'
diff --git a/.github/workflows/e2e-mcp.yml b/.github/workflows/e2e-mcp.yml
index bc84c80d096..b5d67c78a07 100644
--- a/.github/workflows/e2e-mcp.yml
+++ b/.github/workflows/e2e-mcp.yml
@@ -58,7 +58,7 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
java-version: '21'
cache-suffix: 'e2e-mcp'
@@ -90,13 +90,13 @@ jobs:
fi
tar -czf "${artifact_dir}/mcp-distribution-home.tar.gz" -C
distribution/mcp/target "$(basename "${distribution_home}")"
- name: Upload MCP Maven Repository
- uses: ./.github/workflows/resources/actions/upload-e2e-artifacts
+ uses: ./.github/actions/upload-e2e-artifacts
with:
artifact-name: mcp-e2e-maven-repository
artifact-dir: ${{ runner.temp }}/mcp-e2e-maven-repository
docker-images: ''
- name: Upload MCP Distribution
- uses: ./.github/workflows/resources/actions/upload-e2e-artifacts
+ uses: ./.github/actions/upload-e2e-artifacts
with:
artifact-name: mcp-e2e-distribution
artifact-dir: ${{ runner.temp }}/mcp-e2e-distribution
@@ -130,7 +130,7 @@ jobs:
printf 'image_tag=%s\n' "${image_tag}" >> "${GITHUB_OUTPUT}"
sh "${build_script}"
- name: Upload MCP LLM Runtime Image
- uses: ./.github/workflows/resources/actions/upload-e2e-artifacts
+ uses: ./.github/actions/upload-e2e-artifacts
with:
artifact-name: mcp-e2e-llm-runtime-image
artifact-dir: ${{ runner.temp }}/mcp-e2e-llm-runtime-artifacts
@@ -146,20 +146,20 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
java-version: '21'
cache-suffix: 'e2e-mcp'
cache-save-enabled: 'false'
enable-docker-setup: 'true'
- name: Download MCP Maven Repository
- uses: ./.github/workflows/resources/actions/download-e2e-artifacts
+ uses: ./.github/actions/download-e2e-artifacts
with:
artifact-name: mcp-e2e-maven-repository
artifact-dir: ${{ runner.temp }}/mcp-e2e-maven-repository
load-docker-image: 'false'
- name: Download MCP Distribution
- uses: ./.github/workflows/resources/actions/download-e2e-artifacts
+ uses: ./.github/actions/download-e2e-artifacts
with:
artifact-name: mcp-e2e-distribution
artifact-dir: ${{ runner.temp }}/mcp-e2e-distribution
@@ -192,7 +192,7 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Download MCP Distribution
- uses: ./.github/workflows/resources/actions/download-e2e-artifacts
+ uses: ./.github/actions/download-e2e-artifacts
with:
artifact-name: mcp-e2e-distribution
artifact-dir: ${{ runner.temp }}/mcp-e2e-distribution
@@ -297,20 +297,20 @@ jobs:
test: LLMHttpE2EIT#assertInvalidResourceRecovery
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
java-version: '21'
cache-suffix: 'e2e-mcp'
cache-save-enabled: 'false'
enable-docker-setup: 'true'
- name: Download MCP Maven Repository
- uses: ./.github/workflows/resources/actions/download-e2e-artifacts
+ uses: ./.github/actions/download-e2e-artifacts
with:
artifact-name: mcp-e2e-maven-repository
artifact-dir: ${{ runner.temp }}/mcp-e2e-maven-repository
load-docker-image: 'false'
- name: Download MCP LLM Runtime Image
- uses: ./.github/workflows/resources/actions/download-e2e-artifacts
+ uses: ./.github/actions/download-e2e-artifacts
with:
artifact-name: mcp-e2e-llm-runtime-image
artifact-dir: ${{ runner.temp }}/mcp-e2e-llm-runtime-artifacts
diff --git a/.github/workflows/e2e-operation.yml
b/.github/workflows/e2e-operation.yml
index fdf6a44c0a7..5a80b41dd78 100644
--- a/.github/workflows/e2e-operation.yml
+++ b/.github/workflows/e2e-operation.yml
@@ -64,7 +64,7 @@ jobs:
steps:
- uses: actions/[email protected]
- id: setup-build-environment
- uses: ./.github/workflows/resources/actions/setup-build-environment
+ uses: ./.github/actions/setup-build-environment
with:
cache-suffix: 'e2e-operation'
cache-save-enabled: 'false'
@@ -77,12 +77,12 @@ jobs:
FORMATTED_PL=$(echo "$MODULE_LIST" | sed "s|,|,$PREFIX|g" | sed
"s|^|$PREFIX|")
echo "Ready to build: $FORMATTED_PL"
./mvnw -B clean install -am -pl "$FORMATTED_PL" -Pe2e.env.docker
-DskipTests
- - uses: ./.github/workflows/resources/actions/save-maven-cache
+ - uses: ./.github/actions/save-maven-cache
with:
cache-hit: ${{ steps.setup-build-environment.outputs.cache-hit }}
cache-primary-key: ${{
steps.setup-build-environment.outputs.cache-primary-key }}
- - uses: ./.github/workflows/resources/actions/upload-source-snapshot
- - uses: ./.github/workflows/resources/actions/upload-e2e-artifacts
+ - uses: ./.github/actions/upload-source-snapshot
+ - uses: ./.github/actions/upload-e2e-artifacts
e2e-operation:
name: E2E - ${{ matrix.operation }} on ${{ matrix.image.version }}
@@ -125,11 +125,11 @@ jobs:
run: |
find "$GITHUB_WORKSPACE" -mindepth 1 -delete 2>/dev/null || true
tar -xzf "$RUNNER_TEMP/source-snapshot/source-snapshot.tar.gz" -C
"$GITHUB_WORKSPACE"
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-suffix: 'e2e-operation'
cache-save-enabled: 'false'
enable-docker-setup: 'true'
- - uses: ./.github/workflows/resources/actions/download-e2e-artifacts
+ - uses: ./.github/actions/download-e2e-artifacts
- name: Run ${{ matrix.operation }} on ${{ matrix.image.version }}
run: ./mvnw -nsu -B install -f test/e2e/operation/${{ matrix.operation
}}/pom.xml -De2e.run.type=docker -D${{ matrix.image.type }}=${{
matrix.image.version }}
diff --git a/.github/workflows/e2e-sql.yml b/.github/workflows/e2e-sql.yml
index e92eae0b4b3..76364352f9d 100644
--- a/.github/workflows/e2e-sql.yml
+++ b/.github/workflows/e2e-sql.yml
@@ -137,19 +137,19 @@ jobs:
steps:
- uses: actions/[email protected]
- id: setup-build-environment
- uses: ./.github/workflows/resources/actions/setup-build-environment
+ uses: ./.github/actions/setup-build-environment
with:
cache-suffix: 'e2e-sql'
cache-save-enabled: 'false'
enable-docker-setup: 'true'
- name: Build E2E Image
run: ./mvnw -B clean install -am -pl test/e2e/sql -Pe2e.env.docker
-DskipTests
- - uses: ./.github/workflows/resources/actions/save-maven-cache
+ - uses: ./.github/actions/save-maven-cache
with:
cache-hit: ${{ steps.setup-build-environment.outputs.cache-hit }}
cache-primary-key: ${{
steps.setup-build-environment.outputs.cache-primary-key }}
- - uses: ./.github/workflows/resources/actions/upload-source-snapshot
- - uses: ./.github/workflows/resources/actions/upload-e2e-artifacts
+ - uses: ./.github/actions/upload-source-snapshot
+ - uses: ./.github/actions/upload-e2e-artifacts
e2e-sql-smoke:
name: E2E - SQL (Smoke)
@@ -176,12 +176,12 @@ jobs:
run: |
find "$GITHUB_WORKSPACE" -mindepth 1 -delete 2>/dev/null || true
tar -xzf "$RUNNER_TEMP/source-snapshot/source-snapshot.tar.gz" -C
"$GITHUB_WORKSPACE"
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-suffix: 'e2e-sql'
cache-save-enabled: 'false'
enable-docker-setup: 'true'
- - uses: ./.github/workflows/resources/actions/download-e2e-artifacts
+ - uses: ./.github/actions/download-e2e-artifacts
with:
load-docker-image: ${{ matrix.adapter == 'proxy' }}
- name: Run E2E Test
@@ -249,12 +249,12 @@ jobs:
run: |
find "$GITHUB_WORKSPACE" -mindepth 1 -delete 2>/dev/null || true
tar -xzf "$RUNNER_TEMP/source-snapshot/source-snapshot.tar.gz" -C
"$GITHUB_WORKSPACE"
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-suffix: 'e2e-sql'
cache-save-enabled: 'false'
enable-docker-setup: 'true'
- - uses: ./.github/workflows/resources/actions/download-e2e-artifacts
+ - uses: ./.github/actions/download-e2e-artifacts
with:
load-docker-image: ${{ matrix.adapter == 'proxy' }}
- name: Run E2E Test
diff --git a/.github/workflows/nightly-build.yml
b/.github/workflows/nightly-build.yml
index c55dc71e984..75bf2a8be21 100644
--- a/.github/workflows/nightly-build.yml
+++ b/.github/workflows/nightly-build.yml
@@ -54,7 +54,7 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- name: Build Project
@@ -81,7 +81,7 @@ jobs:
- uses: actions/[email protected]
with:
ref: ${{ inputs.commit-id }}
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- name: Login Container Registry
@@ -111,7 +111,7 @@ jobs:
- uses: actions/[email protected]
with:
ref: ${{ inputs.commit-id }}
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- uses: docker/login-action@v3
@@ -144,7 +144,7 @@ jobs:
- uses: actions/[email protected]
with:
ref: ${{ inputs.commit-id }}
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- uses: docker/login-action@v3
@@ -164,7 +164,7 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- name: Build with Maven
@@ -218,7 +218,7 @@ jobs:
options: --health-cmd="echo ruok | nc localhost 2181"
--health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
enable-docker-setup: 'true'
diff --git a/.github/workflows/nightly-check.yml
b/.github/workflows/nightly-check.yml
index 6d631e5a166..b5e89cb6b56 100644
--- a/.github/workflows/nightly-check.yml
+++ b/.github/workflows/nightly-check.yml
@@ -45,7 +45,7 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- name: Run SpotBugs
@@ -93,7 +93,7 @@ jobs:
security-events: write
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- name: Initialize CodeQL
@@ -140,7 +140,7 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- name: Run Dependency Convergence Check
@@ -156,7 +156,7 @@ jobs:
timeout-minutes: 40
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- name: Run OWASP Check
@@ -177,7 +177,7 @@ jobs:
timeout-minutes: 80
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
- name: Install Project
run: ./mvnw clean install -DskipTests -T1C
- name: Build with maven and execute jacoco aggregation script
diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml
index 25177efde16..b3a98165224 100644
--- a/.github/workflows/nightly-ci.yml
+++ b/.github/workflows/nightly-ci.yml
@@ -54,7 +54,7 @@ jobs:
if: matrix.os == 'windows-latest'
run: git config --global core.longpaths true
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
java-version: ${{ matrix.java-version }}
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
diff --git a/.github/workflows/nightly-e2e-operation.yml
b/.github/workflows/nightly-e2e-operation.yml
index 04821185d9e..9c3b9c7ad58 100644
--- a/.github/workflows/nightly-e2e-operation.yml
+++ b/.github/workflows/nightly-e2e-operation.yml
@@ -87,7 +87,7 @@ jobs:
steps:
- uses: actions/[email protected]
- id: setup-build-environment
- uses: ./.github/workflows/resources/actions/setup-build-environment
+ uses: ./.github/actions/setup-build-environment
with:
cache-suffix: 'e2e-operation'
cache-save-enabled: 'false'
@@ -100,12 +100,12 @@ jobs:
FORMATTED_PL=$(echo "$MODULE_LIST" | sed "s|,|,$PREFIX|g" | sed
"s|^|$PREFIX|")
echo "Ready to build: $FORMATTED_PL"
./mvnw -B clean install -am -pl "$FORMATTED_PL" -Pe2e.env.docker
-DskipTests
- - uses: ./.github/workflows/resources/actions/save-maven-cache
+ - uses: ./.github/actions/save-maven-cache
with:
cache-hit: ${{ steps.setup-build-environment.outputs.cache-hit }}
cache-primary-key: ${{
steps.setup-build-environment.outputs.cache-primary-key }}
- - uses: ./.github/workflows/resources/actions/upload-source-snapshot
- - uses: ./.github/workflows/resources/actions/upload-e2e-artifacts
+ - uses: ./.github/actions/upload-source-snapshot
+ - uses: ./.github/actions/upload-e2e-artifacts
e2e-operation-job:
if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
@@ -150,13 +150,13 @@ jobs:
run: |
find "$GITHUB_WORKSPACE" -mindepth 1 -delete 2>/dev/null || true
tar -xzf "$RUNNER_TEMP/source-snapshot/source-snapshot.tar.gz" -C
"$GITHUB_WORKSPACE"
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
java-version: ${{ matrix.java-version }}
cache-suffix: 'e2e-operation'
cache-save-enabled: 'false'
enable-docker-setup: 'true'
- - uses: ./.github/workflows/resources/actions/download-e2e-artifacts
+ - uses: ./.github/actions/download-e2e-artifacts
- name: Run ${{ matrix.operation }} on ${{ matrix.image }}
env:
DOCKER_IMAGE: ${{ matrix.image }}
diff --git a/.github/workflows/nightly-e2e-sql.yml
b/.github/workflows/nightly-e2e-sql.yml
index 6e858d15e45..ab1406d118a 100644
--- a/.github/workflows/nightly-e2e-sql.yml
+++ b/.github/workflows/nightly-e2e-sql.yml
@@ -47,7 +47,7 @@ jobs:
steps:
- uses: actions/[email protected]
- id: setup-build-environment
- uses: ./.github/workflows/resources/actions/setup-build-environment
+ uses: ./.github/actions/setup-build-environment
with:
java-version: 21
cache-suffix: 'e2e-sql'
@@ -55,12 +55,12 @@ jobs:
enable-docker-setup: 'true'
- name: Build E2E Image
run: ./mvnw -B clean install -am -pl test/e2e/sql -Pe2e.env.docker
-DskipTests
- - uses: ./.github/workflows/resources/actions/save-maven-cache
+ - uses: ./.github/actions/save-maven-cache
with:
cache-hit: ${{ steps.setup-build-environment.outputs.cache-hit }}
cache-primary-key: ${{
steps.setup-build-environment.outputs.cache-primary-key }}
- - uses: ./.github/workflows/resources/actions/upload-source-snapshot
- - uses: ./.github/workflows/resources/actions/upload-e2e-artifacts
+ - uses: ./.github/actions/upload-source-snapshot
+ - uses: ./.github/actions/upload-e2e-artifacts
e2e-sql:
name: E2E - SQL
@@ -120,13 +120,13 @@ jobs:
run: |
find "$GITHUB_WORKSPACE" -mindepth 1 -delete 2>/dev/null || true
tar -xzf "$RUNNER_TEMP/source-snapshot/source-snapshot.tar.gz" -C
"$GITHUB_WORKSPACE"
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
java-version: 21
cache-suffix: 'e2e-sql'
cache-save-enabled: 'false'
enable-docker-setup: 'true'
- - uses: ./.github/workflows/resources/actions/download-e2e-artifacts
+ - uses: ./.github/actions/download-e2e-artifacts
with:
load-docker-image: ${{ matrix.adapter == 'proxy' }}
- name: Run E2E Test
diff --git a/.github/workflows/nightly-sql-parser.yml
b/.github/workflows/nightly-sql-parser.yml
index 5a264ad8226..b685ebb9bc7 100644
--- a/.github/workflows/nightly-sql-parser.yml
+++ b/.github/workflows/nightly-sql-parser.yml
@@ -55,7 +55,7 @@ jobs:
test: ExternalPostgreSQLParserIT
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- name: Build Project with Maven
diff --git a/.github/workflows/release-mcp.yml
b/.github/workflows/release-mcp.yml
index 6f4dcac85b7..ebd8089b972 100644
--- a/.github/workflows/release-mcp.yml
+++ b/.github/workflows/release-mcp.yml
@@ -59,7 +59,7 @@ jobs:
- uses: actions/[email protected]
with:
ref: ${{ github.event_name == 'release' &&
github.event.release.tag_name || inputs.version }}
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
java-version: '21'
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
diff --git a/.github/workflows/schedule-report.yml
b/.github/workflows/schedule-report.yml
index 4b612d32126..4ab8d9e6b62 100644
--- a/.github/workflows/schedule-report.yml
+++ b/.github/workflows/schedule-report.yml
@@ -45,7 +45,7 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- name: Install Project
@@ -75,7 +75,7 @@ jobs:
timeout-minutes: 40
steps:
- uses: actions/[email protected]
- - uses: ./.github/workflows/resources/actions/setup-build-environment
+ - uses: ./.github/actions/setup-build-environment
with:
cache-prefix: ${{
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
- uses: actions/[email protected]
diff --git a/pom.xml b/pom.xml
index 0213856ee25..040ff33dc14 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1354,6 +1354,7 @@
<formats>
<format>
<includes>
+
<include>.github/actions/**/*.yml</include>
<include>.github/workflows/**/*.yml</include>
</includes>
<trimTrailingWhitespace />