Skip to content

Commit 7394d5c

Browse files
committed
Fix outdated GH action scripts.
1 parent cd7fbfe commit 7394d5c

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/check_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424
- name: Validate Gradle wrapper
25-
uses: gradle/wrapper-validation-action@v1
25+
uses: gradle/actions/wrapper-validation@v4
2626
- name: Setup JDK ${{ matrix.java }}
2727
uses: actions/setup-java@v4
2828
with:

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ jobs:
1414
matrix:
1515
# Use these Java versions
1616
java: [21]
17+
distro: [temurin]
1718
# and run on both Linux and Windows
18-
os: [ubuntu-22.04]
19+
os: [ubuntu-latest]
1920
runs-on: ${{ matrix.os }}
2021
steps:
2122
- name: Checkout repository
22-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2324
with:
2425
fetch-depth: 0
2526
- name: Create version tag
@@ -35,11 +36,11 @@ jobs:
3536
- name: Fetch tags
3637
run: git fetch --tags
3738
- name: Validate Gradle wrapper
38-
uses: gradle/wrapper-validation-action@v1
39+
uses: gradle/actions/wrapper-validation@v4
3940
- name: Setup JDK ${{ matrix.java }}
40-
uses: actions/setup-java@v3
41+
uses: actions/setup-java@v4
4142
with:
42-
distribution: zulu
43+
distribution: ${{ matrix.distro }}
4344
java-version: ${{ matrix.java }}
4445
- name: Make Gradle wrapper executable
4546
if: ${{ runner.os != 'Windows' }}

0 commit comments

Comments
 (0)