File tree 3 files changed +5
-20
lines changed
3 files changed +5
-20
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
- pull_request_target :
7
+ pull_request :
8
8
9
9
jobs :
10
10
build :
19
19
20
20
steps :
21
21
- uses : actions/checkout@v4
22
- if : github.event_name == 'push'
23
- - uses : actions/checkout@v4
24
- with :
25
- ref : " ${{ github.event.pull_request.merge_commit_sha }}"
26
- if : github.event_name == 'pull_request_target'
27
22
- name : Set up JDK ${{ matrix.jdk }}
28
23
uses : actions/setup-java@v4
29
24
with :
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
- pull_request_target :
7
+ pull_request :
8
8
schedule :
9
9
- cron : " 32 3 * * 0"
10
10
24
24
25
25
steps :
26
26
- uses : actions/checkout@v4
27
- if : github.event_name == 'push'
28
- - uses : actions/checkout@v4
29
- with :
30
- ref : " ${{ github.event.pull_request.merge_commit_sha }}"
31
- if : github.event_name == 'pull_request_target'
32
27
33
28
- name : Setup Java
34
29
uses : actions/setup-java@v4
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
- pull_request_target :
7
+ pull_request :
8
8
9
9
jobs :
10
10
coverage :
14
14
15
15
steps :
16
16
- uses : actions/checkout@v4
17
- if : github.event_name == 'push'
18
- - uses : actions/checkout@v4
19
- with :
20
- ref : " ${{ github.event.pull_request.merge_commit_sha }}"
21
- if : github.event_name == 'pull_request_target'
22
17
- name : Set up JDK 21
23
18
uses : actions/setup-java@v4
24
19
with :
33
28
- name : Generate coverage with JaCoCo
34
29
run : mvn -V --color always -ntp clean verify -Pci
35
30
- name : Upload coverage to Codecov
36
- uses : codecov/codecov-action@v5.4.0
31
+ uses : codecov/codecov-action@v5.0.7
37
32
with :
38
- file : ' plugin/ target/site/jacoco/jacoco.xml'
33
+ file : ' target/site/jacoco/jacoco.xml'
39
34
disable_search : true
40
35
token : ${{secrets.CODECOV_TOKEN}}
You can’t perform that action at this time.
0 commit comments