File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 38
38
- run : unzip pr.zip
39
39
- name : outputs
40
40
run : |-
41
- echo "PR=$(cat NR)" >> $GITHUB_ENV
42
- echo "SHA=$(cat SHA)" >> $GITHUB_ENV
41
+ echo "PR=$(cat NR | tr -cd '0-9' )" >> $GITHUB_ENV
42
+ echo "SHA=$(cat SHA | tr -cd 'a-fA-F0-9' )" >> $GITHUB_ENV
43
43
- name : cobertura-report-unit-test
44
44
uses : 5monkeys/cobertura-action@v14
45
45
continue-on-error : true
Original file line number Diff line number Diff line change 24
24
- name : Build
25
25
run : mvn -U -ntp clean verify
26
26
- name : Upload Coverage
27
- uses : actions/upload-artifact@v3
27
+ uses : actions/upload-artifact@v4
28
28
with :
29
29
name : Coverage Report
30
30
path : target/jacoco-report
39
39
cp target/jacoco-report/cobertura.xml ./pr/jacoco-report/cobertura.xml
40
40
if : github.event_name == 'pull_request'
41
41
- name : Upload files
42
- uses : actions/upload-artifact@v3
42
+ uses : actions/upload-artifact@v4
43
43
with :
44
44
name : pr
45
45
path : pr/
You can’t perform that action at this time.
0 commit comments