File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ # Automatically build the project and run any configured tests for every push
2+ # and submitted pull request. This can help catch issues that only occur on
3+ # certain platforms or Java versions, and provides a first line of defence
4+ # against bad commits.
5+
6+ name : build
7+ on : [pull_request, push]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-24.04
12+ steps :
13+ - name : checkout repository
14+ uses : actions/checkout@v4
15+ - name : validate gradle wrapper
16+ uses : gradle/actions/wrapper-validation@v4
17+ - name : setup jdk
18+ uses : actions/setup-java@v4
19+ with :
20+ java-version : ' 21'
21+ distribution : ' microsoft'
22+ - name : make gradle wrapper executable
23+ run : chmod +x ./gradlew
24+ - name : build
25+ run : ./gradlew build
26+ - name : capture build artifacts
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : Artifacts
30+ path : build/libs/
You can’t perform that action at this time.
0 commit comments