File tree Expand file tree Collapse file tree 2 files changed +28
-12
lines changed Expand file tree Collapse file tree 2 files changed +28
-12
lines changed Original file line number Diff line number Diff line change
1
+ name : Check Lesson 11 Pull Request
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ "main" ]
6
+ paths :
7
+ - " lesson_11/arrays_java/**"
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+
19
+ - name : Set up JDK 17
20
+ uses : actions/setup-java@v4
21
+ with :
22
+ java-version : ' 17'
23
+ distribution : ' temurin'
24
+
25
+ - name : Build Lesson 11 with Java
26
+ working-directory : ./lesson_11/arrays_java
27
+ run : ./gradlew check
Original file line number Diff line number Diff line change 1
- name : Check Lesson 10 Pull Request
1
+ name : Check Lesson 11 Pull Request
2
2
3
3
on :
4
4
pull_request :
5
5
branches : [ "main" ]
6
6
paths :
7
- - " lesson_11/arrays_java/**"
8
7
- " lesson_11/arrays_ts/**"
9
8
10
9
jobs :
@@ -17,21 +16,11 @@ jobs:
17
16
steps :
18
17
- uses : actions/checkout@v4
19
18
20
- - name : Set up JDK 17
21
- uses : actions/setup-java@v4
22
- with :
23
- java-version : ' 17'
24
- distribution : ' temurin'
25
-
26
19
- name : Use Node.js
27
20
uses : actions/setup-node@v4
28
21
with :
29
22
node-version : ' 20.x'
30
23
31
- - name : Build Lesson 11 with Java
32
- working-directory : ./lesson_11/arrays_java
33
- run : ./gradlew check
34
-
35
24
- name : Build Lesson 11 with Node.js
36
25
working-directory : ./lesson_11/arrays_ts
37
26
run : |
You can’t perform that action at this time.
0 commit comments