This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-shaded.git

commit 98d8c41e6b1f7dffa680cf2dd54f56a23471ece6
Author: Chesnay Schepler <[email protected]>
AuthorDate: Mon Sep 26 11:54:24 2022 +0200

    [hotfix] Sync CI setup
---
 .github/workflows/ci.yml | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 658000c..65ed6a9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,12 +5,24 @@ on: [push, pull_request]
 jobs:
   build:
     runs-on: ubuntu-latest
+    env:
+      MVN_COMMON_OPTIONS: -U -B --no-transfer-progress
 
     steps:
       - uses: actions/checkout@v2
-      - name: Set up JDK 1.8
-        uses: actions/setup-java@v1
+
+      - name: Set JDK
+        uses: actions/setup-java@v2
+        with:
+          java-version: 8
+          distribution: 'temurin'
+          cache: 'maven'
+
+      - name: Set Maven 3.8.6
+        uses: stCarolas/[email protected]
         with:
-          java-version: 1.8
+          maven-version: 3.8.6
+
       - name: Build
-        run: mvn clean install -B
\ No newline at end of file
+        run: mvn clean install ${{ env.MVN_COMMON_OPTIONS }}
+          -DaltDeploymentRepository=validation_repository::default::file:${{ 
env.MVN_VALIDATION_DIR }} \

Reply via email to