You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2019/09/20 15:54:54 UTC

[spark] branch master updated: [MINOR][INFRA] Use java-version instead of version for GitHub Action

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

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 9e234a5  [MINOR][INFRA] Use java-version instead of version for GitHub Action
9e234a5 is described below

commit 9e234a5434f874a9548123375df5bb7a1fee5bc5
Author: Yuming Wang <yu...@ebay.com>
AuthorDate: Fri Sep 20 08:54:34 2019 -0700

    [MINOR][INFRA] Use java-version instead of version for GitHub Action
    
    ### What changes were proposed in this pull request?
    
    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
    
    ### Why are the changes needed?
    
    The `version` property will not be supported after October 1, 2019.
    
    ### Does this PR introduce any user-facing change?
    No
    
    ### How was this patch tested?
    N/A
    
    Closes #25866 from wangyum/java-version.
    
    Authored-by: Yuming Wang <yu...@ebay.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 .github/workflows/master.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml
index 99dd1d0..350f340 100644
--- a/.github/workflows/master.yml
+++ b/.github/workflows/master.yml
@@ -26,7 +26,7 @@ jobs:
     - name: Set up JDK ${{ matrix.java }}
       uses: actions/setup-java@v1
       with:
-        version: ${{ matrix.java }}
+        java-version: ${{ matrix.java }}
     - name: Build with Maven
       run: |
         export MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=1g -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org