From 27d4547aac6fcdda3ffa11840a4c83b6166501d9 Mon Sep 17 00:00:00 2001 From: dafreels Date: Thu, 20 Apr 2023 15:14:38 -0400 Subject: [PATCH] #345 Working on shared artifacts --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75170696..1c88fc06 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,6 +29,7 @@ jobs: SPARK_LOCAL_IP: 127.0.0.1 JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 run: mvn -B -P scala_${{ matrix.scala }} clean install + - name: Share Artifacts uses: actions/upload-artifact@v3 if: matrix.os == 'ubuntu-latest' with: @@ -54,11 +55,12 @@ jobs: distribution: zulu java-version: 8.0.362+8 cache: 'maven' - - name: Build and Test + - name: Download Artifacts uses: actions/download-artifact@v3 with: name: metalus-core_${{ matrix.scala }} path: ~/.m2/repository/com/acxiom/metalus-core_${{ matrix.scala }} + - name: Build and Test env: SPARK_LOCAL_IP: 127.0.0.1 JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 @@ -89,11 +91,12 @@ jobs: scala=$(echo ${{matrix.spark}} | cut -d_ -f2) echo "::set-output name=spark::$spark" echo "::set-output name=scala::$scala" - - name: Build and Test + - name: Download Artifacts uses: actions/download-artifact@v3 with: name: metalus-core_${{ steps.get-versions.outputs.scala }} path: ~/.m2/repository/com/acxiom/metalus-core_${{ steps.get-versions.outputs.scala }} + - name: Build and Test env: SPARK_LOCAL_IP: 127.0.0.1 JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8