File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build the project
2+ on : [pull_request]
3+ jobs :
4+ build :
5+ runs-on : ubuntu-latest
6+ if : ${{ github.actor != 'dependabot[bot]' }}
7+ permissions :
8+ contents : write
9+ packages : write
10+ steps :
11+ - name : Checkout code
12+ uses : actions/checkout@v5
13+ with :
14+ ref : ${{ github.head_ref }}
15+ token : ${{ secrets.PAT }}
16+ - name : Update resources with Maven
17+ run : mvn -B process-resources
18+ - name : Update files if needed
19+ uses : stefanzweifel/git-auto-commit-action@v7
20+ - name : Set up JDK 17 and Maven Central Repository
21+ uses : actions/setup-java@v5
22+ with :
23+ java-version : ' 17'
24+ distribution : ' adopt'
25+ cache : ' maven'
26+ - name : Build the project and run integration tests
27+ run : mvn -B verify
Original file line number Diff line number Diff line change 11name : Build the project
2- on : [push, pull_request ]
2+ on : [push]
33jobs :
44 build :
55 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments