File tree Expand file tree Collapse file tree 3 files changed +33
-4
lines changed Expand file tree Collapse file tree 3 files changed +33
-4
lines changed Original file line number Diff line number Diff line change 1
- name : Maven build
1
+ name : Maven build example
2
2
3
- on : [ push, pull_request ]
3
+ on :
4
+ push :
5
+ paths :
6
+ - ' example/**'
7
+ - ' .github/workflows/*example*'
8
+ pull_request :
9
+ paths :
10
+ - ' example/**'
11
+ - ' .github/workflows/*example*'
12
+
13
+ defaults :
14
+ run :
15
+ working-directory : ./example
4
16
5
17
jobs :
6
18
build :
26
38
27
39
- name : Test and package
28
40
run : mvn --batch-mode package
41
+
Original file line number Diff line number Diff line change 1
1
name : Maven build
2
2
3
- on : [ push, pull_request ]
3
+ on :
4
+ push :
5
+ paths-ignore :
6
+ - ' example/**'
7
+ - ' .github/workflows/*example*'
8
+ pull_request :
9
+ paths-ignore :
10
+ - ' example/**'
11
+ - ' .github/workflows/*example*'
4
12
5
13
jobs :
6
14
build :
Original file line number Diff line number Diff line change 1
1
name : SonarCloud code analysis
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ paths-ignore :
6
+ - ' example/**'
7
+ - ' .github/workflows/*example*'
8
+ pull_request :
9
+ paths-ignore :
10
+ - ' example/**'
11
+ - ' .github/workflows/*example*'
4
12
5
13
jobs :
6
14
analyze :
You can’t perform that action at this time.
0 commit comments