Skip to content

Commit 31bdf55

Browse files
committed
fix github action
1 parent 5b303b5 commit 31bdf55

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
66
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
77

8-
name: Java CI with Gradle
8+
name: CI build
99

1010
on:
1111
push:
@@ -23,16 +23,18 @@ jobs:
2323

2424
steps:
2525
- uses: actions/checkout@v3
26-
- name: Set up JDK 17
26+
- name: Set up JDK 8
2727
uses: actions/setup-java@v3
2828
with:
29-
java-version: '17'
29+
java-version: '8'
3030
distribution: 'temurin'
31-
- name: Set up JDK 8
31+
- name: Set up JDK 17
3232
uses: actions/setup-java@v3
3333
with:
34-
java-version: '8'
34+
java-version: '17'
3535
distribution: 'temurin'
36+
- name: Make gradlew executable
37+
run: chmod +x ./gradlew
3638
- name: Build with Gradle
3739
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
3840
with:

0 commit comments

Comments
 (0)