File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : PR Validation
4+
5+ # Controls when the workflow will run
6+ on :
7+ # Triggers the workflow on push or pull request events but only for the main branch
8+ pull_request :
9+ branches : [ main ]
10+
11+ # Allows you to run this workflow manually from the Actions tab
12+ workflow_dispatch :
13+
14+ jobs :
15+ build :
16+
17+ runs-on : ubuntu-latest
18+ permissions :
19+ contents : read
20+ packages : write
21+
22+ steps :
23+ - uses : actions/checkout@v3
24+ - name : Set up JDK 11
25+ uses : actions/setup-java@v3
26+ with :
27+ java-version : ' 11'
28+ distribution : ' temurin'
29+ server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
30+ settings-path : ${{ github.workspace }} # location for the settings.xml file
31+
32+ - name : Build with Gradle
33+ uses : gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
34+ with :
35+ arguments : build
You can’t perform that action at this time.
0 commit comments