@@ -4,41 +4,42 @@ on: [push]
4
4
5
5
jobs :
6
6
build :
7
-
8
7
runs-on : ubuntu-latest
9
8
10
9
steps :
11
- - uses : actions/checkout@v1
12
- - name : Set up JDK 1.8
13
- uses : actions/setup-java@v1
14
- with :
15
- java-version : 1.8
16
-
17
- - name : Build with Gradle
18
- run : ./gradlew build
19
-
20
- - name : robocode.core test artifacts
21
- if : always()
22
- uses : actions/upload-artifact@v2
23
- with :
24
- name : robocode.core-test-result
25
- path : robocode.core/build/reports/tests/test
26
-
27
- - name : robocode.host test artifacts
28
- if : always()
29
- uses : actions/upload-artifact@v2
30
- with :
31
- name : robocode.host-test-result
32
- path : robocode.host/build/reports/tests/test
33
-
34
- - name : robocode.tests test artifacts
35
- if : always()
36
- uses : actions/upload-artifact@v2
37
- with :
38
- name : robocode.tests-result
39
- path : robocode.tests/build/reports/tests/test
40
-
41
- - name : setup binary artifact
42
- uses : actions/upload-artifact@v2
43
- with :
44
- path : build/robocode-*-setup.jar
10
+ - uses : actions/checkout@v4
11
+ - name : Set up JDK 1.8
12
+ uses : actions/setup-java@v3
13
+ with :
14
+ java-version : ' 8'
15
+ distribution : ' temurin'
16
+
17
+ - name : Build with Gradle
18
+ run : ./gradlew build
19
+
20
+ - name : robocode.core test artifacts
21
+ if : always()
22
+ uses : actions/upload-artifact@v3
23
+ with :
24
+ name : robocode.core-test-result
25
+ path : robocode.core/build/reports/tests/test
26
+
27
+ - name : robocode.host test artifacts
28
+ if : always()
29
+ uses : actions/upload-artifact@v3
30
+ with :
31
+ name : robocode.host-test-result
32
+ path : robocode.host/build/reports/tests/test
33
+
34
+ - name : robocode.tests test artifacts
35
+ if : always()
36
+ uses : actions/upload-artifact@v3
37
+ with :
38
+ name : robocode.tests-result
39
+ path : robocode.tests/build/reports/tests/test
40
+
41
+ - name : setup binary artifact
42
+ uses : actions/upload-artifact@v3
43
+ with :
44
+ name : robocode-setup
45
+ path : build/robocode-*-setup.jar
0 commit comments