File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11name : Build and Deploy Snapshot
22on :
33 push :
4+ branches : ['2.*']
45 paths-ignore :
56 - " README.md"
67 - " release-notes/*"
78 pull_request :
89 paths-ignore :
910 - " README.md"
1011 - " release-notes/*"
12+ permissions :
13+ contents : read
14+
1115jobs :
1216 build :
1317 runs-on : ' ubuntu-24.04'
2024 steps :
2125 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2226 - name : Set up JDK
23- uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
27+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
2428 with :
2529 distribution : ' temurin'
2630 java-version : ${{ matrix.java_version }}
4852 run : ./mvnw -B -q -ff -ntp test
4953 - name : Publish code coverage
5054 if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
51- uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
55+ uses : codecov/codecov-actionad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
5256 with :
5357 token : ${{ secrets.CODECOV_TOKEN }}
5458 files : ./target/site/jacoco/jacoco.xml
You can’t perform that action at this time.
0 commit comments