Skip to content

Commit

Permalink
[SPARK-51038][INFRA] Add branch-4.0 to daily Publish Snapshot Git…
Browse files Browse the repository at this point in the history
…Hub Action job

### What changes were proposed in this pull request?

This PR aims to add `branch-4.0` to daily `Publish Snapshot` GitHub Action job.

### Why are the changes needed?

After creating `branch-4.0` on 2025-01-15, there is no new publishing because `master` branch is now `4.1.0-SNAPSHOT`.
- https://repository.apache.org/content/groups/snapshots/org/apache/spark/spark-core_2.13/4.0.0-SNAPSHOT/

<img width="824" alt="Screenshot 2025-01-29 at 20 57 24" src="https://github.com/user-attachments/assets/957eecf2-3b56-4e71-be6f-da601b8aa5c4" />

### Does this PR introduce _any_ user-facing change?

No, this is an infra-only change.

### How was this patch tested?

Manual review.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #49732 from dongjoon-hyun/SPARK-51038.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
  • Loading branch information
dongjoon-hyun authored and LuciferYang committed Jan 30, 2025
1 parent 585f434 commit 9e1bfa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]'
default: '["master", "branch-4.0", "branch-3.5"]'

jobs:
publish-snapshot:
Expand All @@ -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: ${{ fromJSON( inputs.branch || '["master", "branch-4.0", "branch-3.5"]' ) }}
steps:
- name: Checkout Spark repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 9e1bfa1

Please sign in to comment.