File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and Deploy Snapshot
2
2
on :
3
3
push :
4
+ branches : ['2.*']
4
5
paths-ignore :
5
6
- " README.md"
6
7
- " release-notes/*"
7
8
pull_request :
8
9
paths-ignore :
9
10
- " README.md"
10
11
- " release-notes/*"
12
+ permissions :
13
+ contents : read
14
+
11
15
jobs :
12
16
build :
13
17
runs-on : ' ubuntu-latest'
18
22
env :
19
23
JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
20
24
steps :
21
- - uses : actions/checkout@v4
25
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22
26
- name : Set up JDK
23
- uses : actions/setup-java@v4
27
+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
24
28
with :
25
29
distribution : ' temurin'
26
30
java-version : ${{ matrix.java_version }}
48
52
run : ./mvnw -B -q -ff -ntp test
49
53
- name : Publish code coverage
50
54
if : github.event_name != 'pull_request' && matrix.java_version == '8'
51
- uses : codecov/codecov-action@v5
55
+ uses : codecov/codecov-actionad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
52
56
with :
53
57
token : ${{ secrets.CODECOV_TOKEN }}
54
- file : ./target/site/jacoco/jacoco.xml
58
+ files : ./target/site/jacoco/jacoco.xml
55
59
flags : unittests
You can’t perform that action at this time.
0 commit comments