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

yangjie01 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 51dd7268f895 [SPARK-46435][INFRA] Exclude `branch-3.3` from 
`publish_snapshot.yml`
51dd7268f895 is described below

commit 51dd7268f895032a986a163318ae4fd31891a8a3
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Mon Dec 18 13:53:10 2023 +0800

    [SPARK-46435][INFRA] Exclude `branch-3.3` from `publish_snapshot.yml`
    
    ### What changes were proposed in this pull request?
    
    This PR aims to exclude `branch-3.3` from `publish_snapshot.yml`.
    
    ### Why are the changes needed?
    
    We don't need to publish the snapshot of branch-3.3 because it reached the 
End-Of-Life status.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manual review.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #44390 from dongjoon-hyun/SPARK-46435.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: yangjie01 <yangji...@baidu.com>
---
 .github/workflows/publish_snapshot.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/publish_snapshot.yml 
b/.github/workflows/publish_snapshot.yml
index ff51887e0df2..735c0f3d180b 100644
--- a/.github/workflows/publish_snapshot.yml
+++ b/.github/workflows/publish_snapshot.yml
@@ -28,7 +28,7 @@ on:
         description: 'list of branches to publish (JSON)'
         required: true
         # keep in sync with default value of strategy matrix 'branch'
-        default: '["master", "branch-3.5", "branch-3.4", "branch-3.3"]'
+        default: '["master", "branch-3.5", "branch-3.4"]'
 
 jobs:
   publish-snapshot:
@@ -38,7 +38,7 @@ jobs:
       fail-fast: false
       matrix:
         # keep in sync with default value of workflow_dispatch input 'branch'
-        branch: ${{ fromJSON( inputs.branch || '["master", "branch-3.5", 
"branch-3.4", "branch-3.3"]' ) }}
+        branch: ${{ fromJSON( inputs.branch || '["master", "branch-3.5", 
"branch-3.4"]' ) }}
     steps:
     - name: Checkout Spark repository
       uses: actions/checkout@v4
@@ -52,13 +52,13 @@ jobs:
         restore-keys: |
           snapshot-maven-
     - name: Install Java 8 for branch-3.x
-      if: matrix.branch == 'branch-3.5' || matrix.branch == 'branch-3.4' || 
matrix.branch == 'branch-3.3'
+      if: matrix.branch == 'branch-3.5' || matrix.branch == 'branch-3.4'
       uses: actions/setup-java@v4
       with:
         distribution: temurin
         java-version: 8
     - name: Install Java 17
-      if: matrix.branch != 'branch-3.5' && matrix.branch != 'branch-3.4' && 
matrix.branch != 'branch-3.3'
+      if: matrix.branch != 'branch-3.5' && matrix.branch != 'branch-3.4'
       uses: actions/setup-java@v4
       with:
         distribution: temurin


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

Reply via email to