This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new 25d4b3a [MINOR][INFRA] Use java-version instead of version for GitHub
Action
25d4b3a is described below
commit 25d4b3ad22c55d8cbcaad99c49c4e787f37777e4
Author: Yuming Wang <[email protected]>
AuthorDate: Fri Sep 20 08:54:34 2019 -0700
[MINOR][INFRA] Use java-version instead of version for GitHub Action
This PR use `java-version` instead of `version` for GitHub Action. More
details:
https://github.com/actions/setup-java/commit/204b974cf476e9709b6fab0c59007578676321c5
https://github.com/actions/setup-java/commit/ac25aeee3a8ad80e5e24d12610e451338577534f
The `version` property will not be supported after October 1, 2019.
No
N/A
Closes #25866 from wangyum/java-version.
Authored-by: Yuming Wang <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 9e234a5434f874a9548123375df5bb7a1fee5bc5)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/branch-2.4.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/branch-2.4.yml b/.github/workflows/branch-2.4.yml
index 25e51c4..208bb46 100644
--- a/.github/workflows/branch-2.4.yml
+++ b/.github/workflows/branch-2.4.yml
@@ -22,12 +22,12 @@ jobs:
- name: Set up JDK 8
uses: actions/setup-java@v1
with:
- version: '1.8'
+ java-version: '1.8'
- name: Change to Scala ${{ matrix.scala }}
run: |
dev/change-scala-version.sh ${{ matrix.scala }}
- name: Build with Maven
run: |
- export MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=1g
-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"
+ export MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=512m
-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"
export MAVEN_CLI_OPTS="--no-transfer-progress"
./build/mvn $MAVEN_CLI_OPTS -DskipTests -Pyarn -Pmesos -Pkubernetes
-Phive -Phive-thriftserver -Pscala-${{ matrix.scala }} package
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]