Skip to content

Commit 6d73600

Browse files
committed
Updating Actions
1 parent e49290a commit 6d73600

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/gradle.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414
- name: Get Fetch Tags
1515
run: git -c protocol.version=2 fetch --tags --progress --no-recurse-submodules origin
1616
if: "!contains(github.ref, 'refs/tags')"
17-
- name: Set up JDK 1.8
18-
uses: actions/setup-java@v1
17+
- name: Set up JDK 11
18+
uses: actions/setup-java@v4
1919
with:
20-
java-version: 1.8
20+
java-version: 11
21+
distribution: 'corretto'
2122
- name: Grant execute permission for gradlew
2223
run: chmod +x gradlew
2324
- name: Build with Gradle

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
uses: actions/checkout@v2
1616
with:
1717
fetch-depth: 0
18-
- name: set up JDK 1.8
19-
uses: actions/setup-java@v1
18+
- name: set up JDK 11
19+
uses: actions/setup-java@v4
2020
with:
21-
java-version: 1.8
21+
java-version: 11
22+
distribution: 'corretto'
2223
- name: Build with Gradle
2324
run: ./gradlew build
2425
- name: Get Release Version

0 commit comments

Comments
 (0)