You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/11/12 14:11:39 UTC
[shardingsphere] branch master updated: Independent project build process for example generator IT (#22071)
This is an automated email from the ASF dual-hosted git repository.
zhangliang 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 ee6349eaf6b Independent project build process for example generator IT (#22071)
ee6349eaf6b is described below
commit ee6349eaf6b3f2dc388559522196cf4cb590d129
Author: Guocheng Tang <to...@apache.org>
AuthorDate: Sat Nov 12 22:11:31 2022 +0800
Independent project build process for example generator IT (#22071)
* Remove the mixed examples and use the automatically generated examples.
* merger master
* Independent project build process
* fix yml style
* Adjust the Order of Tasks
* Restore schedule
* update job name
* update job name to generate-and-test-examples
* use lowercase for job name
---
.github/workflows/nightly-it-example-generator.yml | 23 +++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/nightly-it-example-generator.yml b/.github/workflows/nightly-it-example-generator.yml
index 32aaa77a6a5..fe8756147b4 100644
--- a/.github/workflows/nightly-it-example-generator.yml
+++ b/.github/workflows/nightly-it-example-generator.yml
@@ -25,11 +25,32 @@ env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dcheckstyle.skip=true -Dspotless.apply.skip=true -Dmaven.javadoc.skip=true -Drat.skip=true
jobs:
- example-generator:
+ build-cache:
+ if: github.repository == 'apache/shardingsphere'
+ name: Build Cache
+ runs-on: ubuntu-latest
+ timeout-minutes: 90
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
+ with:
+ distribution: 'temurin'
+ java-version: '8'
+ - uses: actions/cache@v3
+ with:
+ path: ~/.m2/repository
+ key: shardingsphere-maven-third-party-cache-${{ github.sha }}
+ restore-keys: |
+ shardingsphere-maven-third-party-cache-
+ shardingsphere-maven-third-party-
+ - name: Build with Maven
+ run: ./mvnw -B -T1C -ntp clean install -DskipITs -DskipTests
+ generate-and-test-examples:
if: github.repository == 'apache/shardingsphere'
name: Example-${{ matrix.feature }}-${{ matrix.framework }}-${{ matrix.mode }}-${{ matrix.transaction }}
runs-on: ubuntu-latest
timeout-minutes: 90
+ needs: build-cache
strategy:
fail-fast: false
matrix: