Skip to content

Commit b4fe810

Browse files
authored
Upgrade GitHub Actions for Node 24 compatibility (#11)
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
1 parent b1cef85 commit b4fe810

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ jobs:
3232
steps:
3333
- name: Check out code
3434
# https://github.com/actions/checkout
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v6
3636
with:
3737
# Needed to get all tags. Refer https://github.com/shipkit/shipkit-changelog#fetch-depth-on-ci
3838
fetch-depth: '0'
3939
- name: Setup Java
40-
uses: actions/setup-java@v1
40+
uses: actions/setup-java@v5
41+
with:
42+
distribution: temurin # Added for actions/setup-java v2+ compatibility
4143
with:
4244
java-version: 1.8
4345
- name: Build and test code, and test artifact publishing
@@ -72,12 +74,14 @@ jobs:
7274
steps:
7375
- name: Check out code
7476
# https://github.com/actions/checkout
75-
uses: actions/checkout@v2
77+
uses: actions/checkout@v6
7678
with:
7779
# Needed to get all tags. Refer https://github.com/shipkit/shipkit-changelog#fetch-depth-on-ci
7880
fetch-depth: '0'
7981
- name: Setup Java
80-
uses: actions/setup-java@v1
82+
uses: actions/setup-java@v5
83+
with:
84+
distribution: temurin # Added for actions/setup-java v2+ compatibility
8185
with:
8286
java-version: 1.8
8387
- name: Release

0 commit comments

Comments
 (0)