Commit 585f0cc 1 parent 6e3b5e6 commit 585f0cc Copy full SHA for 585f0cc
File tree 1 file changed +2
-25
lines changed
1 file changed +2
-25
lines changed Original file line number Diff line number Diff line change @@ -5,44 +5,21 @@ name: Build Java Semantic Kernel
5
5
on :
6
6
workflow_dispatch :
7
7
push :
8
- branches : [ "main", "java-development" ]
8
+ branches : [ "main" ]
9
9
paths :
10
10
- ' java/**'
11
11
pull_request :
12
- branches : [ "main", "java-development" ]
12
+ branches : [ "main" ]
13
13
paths :
14
14
- ' java/**'
15
15
16
16
permissions :
17
17
contents : read
18
18
19
19
jobs :
20
- # Determines if Java files have changed
21
- paths-filter :
22
- runs-on : ubuntu-latest
23
- outputs :
24
- javaChanges : ${{ steps.filter.outputs.java }}
25
- steps :
26
- - uses : actions/checkout@v4
27
- - uses : dorny/paths-filter@v2
28
- id : filter
29
- with :
30
- filters : |
31
- java:
32
- - 'java/**'
33
- - '**/java/**'
34
- - name : java tests
35
- if : steps.filter.outputs.java == 'true'
36
- run : echo "Java file"
37
- - name : not java tests
38
- if : steps.filter.outputs.java != 'true'
39
- run : echo "NOT java file"
40
-
41
20
# Builds and tests the Java project
42
21
java-build :
43
22
runs-on : ubuntu-latest
44
- needs : paths-filter
45
- if : needs.paths-filter.outputs.javaChanges == 'true'
46
23
strategy :
47
24
fail-fast : false
48
25
matrix :
You can’t perform that action at this time.
0 commit comments