Skip to content

Commit adb1919

Browse files
committed
update CI build script
1 parent f8316b7 commit adb1919

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

.github/workflows/gradle.yml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,24 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- uses: actions/checkout@v3
23-
- name: Set up JDK 17
24-
uses: actions/setup-java@v3
25-
with:
26-
java-version: '17'
27-
distribution: 'adopt'
28-
cache: gradle
29-
- uses: gradle/gradle-build-action@v2
30-
with:
31-
arguments: build --info --no-daemon
32-
- name: Archive build
33-
uses: actions/upload-artifact@v3
34-
with:
35-
name: Build Result
36-
path: glsl-preprocessor/build/libs/
37-
- name: Archive test report
38-
uses: actions/upload-artifact@v3
39-
with:
40-
name: Test Report
41-
path: glsl-preprocessor/build/reports/tests/test/
22+
- uses: actions/checkout@v4
23+
- name: Set up JDK 21
24+
uses: actions/setup-java@v4
25+
with:
26+
distribution: 'temurin'
27+
java-version: '21'
28+
cache: gradle
29+
- name: Setup Gradle
30+
uses: gradle/actions/setup-gradle@v4
31+
- name: Build with Gradle
32+
run: ./gradlew build --info --no-daemon
33+
- name: Archive build
34+
uses: actions/upload-artifact@v4
35+
with:
36+
name: Build Result
37+
path: glsl-preprocessor/build/libs/
38+
- name: Archive test report
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: Test Report
42+
path: glsl-preprocessor/build/reports/tests/test/

0 commit comments

Comments
 (0)