Skip to content

Commit 1f39728

Browse files
Update java build version and actions version
1 parent 63d78d8 commit 1f39728

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: ["release/3.*"]
88

99
env:
10-
JAVA_VERSION: 16
10+
JAVA_VERSION: 17
1111

1212
jobs:
1313
# The pre_job uses a smart Github action that will check the provided path filters
@@ -40,7 +40,7 @@ jobs:
4040
uses: actions/checkout@v3
4141

4242
- name: Set up Java
43-
uses: actions/setup-java@v1
43+
uses: actions/setup-java@v3
4444
with:
4545
java-version: ${{ env.JAVA_VERSION }} # The JDK version to make available on the path.
4646
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
@@ -51,7 +51,7 @@ jobs:
5151
working-directory: ${{ env.working-directory }}
5252

5353
- name: Notify slack on failure
54-
# We run this step only on the default 3.1+ branch
54+
# We run this step only on the default branch
5555
# because secrets are not accessible on PRs from forks.
5656
# Therefore, this notification will only happen when a PR is merged.
5757
if: failure() && startsWith(github.ref, 'refs/heads/release/3.*')

0 commit comments

Comments
 (0)