You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ya...@apache.org on 2023/12/18 05:53:23 UTC
(spark) branch master updated: [SPARK-46435][INFRA] Exclude `branch-3.3` from `publish_snapshot.yml`
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 <ya...@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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org