Skip to content

Commit 83ca2e8

Browse files
jverbussalmanmkcclaude
authored
Upgrade GitHub Actions for Node 24 compatibility (#80)
* Upgrade GitHub Actions for Node 24 compatibility Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com> * Add required distribution parameter to setup-java@v5 The upgrade to actions/setup-java@v5 requires the distribution input. Use Eclipse Temurin as the JDK distribution for all CI jobs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Fix Java version format for setup-java@v5 setup-java@v5 uses semver and does not recognize '1.8'. Use '8' instead, which matches the available Temurin distribution versions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com> Co-authored-by: Salman Muin Kayser Chishti <13schishti@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9de37cd commit 83ca2e8

1 file changed

Lines changed: 23 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,37 +23,37 @@ jobs:
2323
include:
2424
- scala-version: 2.12.19
2525
spark-version: 2.4.3
26-
java-version: '1.8'
26+
java-version: '8'
2727
- scala-version: 2.12.19
2828
spark-version: 3.0.3
29-
java-version: '1.8'
29+
java-version: '8'
3030
- scala-version: 2.12.19
3131
spark-version: 3.1.3
32-
java-version: '1.8'
32+
java-version: '8'
3333
- scala-version: 2.12.19
3434
spark-version: 3.2.4
35-
java-version: '1.8'
35+
java-version: '8'
3636
- scala-version: 2.13.14
3737
spark-version: 3.2.4
38-
java-version: '1.8'
38+
java-version: '8'
3939
- scala-version: 2.12.19
4040
spark-version: 3.3.4
41-
java-version: '1.8'
41+
java-version: '8'
4242
- scala-version: 2.13.14
4343
spark-version: 3.3.4
44-
java-version: '1.8'
44+
java-version: '8'
4545
- scala-version: 2.12.19
4646
spark-version: 3.4.3
47-
java-version: '1.8'
47+
java-version: '8'
4848
- scala-version: 2.13.14
4949
spark-version: 3.4.3
50-
java-version: '1.8'
50+
java-version: '8'
5151
- scala-version: 2.12.19
5252
spark-version: 3.5.5
53-
java-version: '1.8'
53+
java-version: '8'
5454
- scala-version: 2.13.14
5555
spark-version: 3.5.5
56-
java-version: '1.8'
56+
java-version: '8'
5757
- scala-version: 2.13.14
5858
spark-version: 4.0.1
5959
java-version: '17'
@@ -63,12 +63,13 @@ jobs:
6363
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
6464
steps:
6565
- name: Check out code
66-
uses: actions/checkout@v2 # https://github.com/actions/checkout
66+
uses: actions/checkout@v6 # https://github.com/actions/checkout
6767
with:
6868
fetch-depth: '0' # https://github.com/shipkit/shipkit-changelog#fetch-depth-on-ci
6969
- name: Set up Java
70-
uses: actions/setup-java@v1
70+
uses: actions/setup-java@v5
7171
with:
72+
distribution: 'temurin'
7273
java-version: ${{ matrix.java-version }}
7374
- name: Perform build
7475
env:
@@ -100,15 +101,16 @@ jobs:
100101
&& !contains(toJSON(github.event.commits.*.message), '[skip release]')
101102
steps:
102103
- name: Check out code
103-
uses: actions/checkout@v2 # https://github.com/actions/checkout
104+
uses: actions/checkout@v6 # https://github.com/actions/checkout
104105
with:
105106
fetch-depth: '0'
106107
- name: Setup Java
107-
uses: actions/setup-java@v1
108+
uses: actions/setup-java@v5
108109
with:
109-
java-version: 1.8
110+
distribution: 'temurin'
111+
java-version: 8
110112
- name: Setup Python
111-
uses: actions/setup-python@v5 # https://github.com/actions/setup-python
113+
uses: actions/setup-python@v6 # https://github.com/actions/setup-python
112114
with:
113115
python-version: '3.9'
114116
- name: Publish to PyPI
@@ -127,14 +129,15 @@ jobs:
127129
steps:
128130
- name: Check out code
129131
# https://github.com/actions/checkout
130-
uses: actions/checkout@v2
132+
uses: actions/checkout@v6
131133
with:
132134
# Needed to get all tags. Refer https://github.com/shipkit/shipkit-changelog#fetch-depth-on-ci
133135
fetch-depth: '0'
134136
- name: Setup Java
135-
uses: actions/setup-java@v1
137+
uses: actions/setup-java@v5
136138
with:
137-
java-version: 1.8
139+
distribution: 'temurin'
140+
java-version: 8
138141
- name: Release to GitHub
139142
run: ./gradlew githubRelease
140143
env:

0 commit comments

Comments
 (0)