File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
22# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
33
4- # This workflow uses actions that are not certified by GitHub.
5- # They are provided by a third-party and are governed by
6- # separate terms of service, privacy policy, and support
7- # documentation.
8-
94name : Java CI with Maven
105
116on :
149 pull_request :
1510 branches : [ "main" ]
1611
12+ permissions :
13+ contents : write # required for dependency submission
14+
1715jobs :
1816 build :
1917 runs-on : ubuntu-latest
3028 - name : Build with Maven
3129 run : mvn -B -f SimpleAPI/pom.xml package
3230
31+ # Only run dependency graph submission on push (not pull_request)
3332 - name : Submit Dependency Snapshot
33+ if : github.event_name == 'push'
3434 uses : advanced-security/maven-dependency-submission-action@v5
3535 with :
36- directory : SimpleAPI # <-- tell the action where pom.xml is
36+ directory : SimpleAPI # path to pom.xml
3737 # optional: maven-args: "-DskipTests"
Original file line number Diff line number Diff line change 217217 <dependency >
218218 <groupId >redis.clients</groupId >
219219 <artifactId >jedis</artifactId >
220- <version >6.2 .0</version >
220+ <version >7.0 .0</version >
221221 </dependency >
222222 </dependencies >
223223 <profiles >
You can’t perform that action at this time.
0 commit comments