File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-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 : [push, workflow_dispatch]
8+
9+ jobs :
10+ build :
11+ strategy :
12+ matrix :
13+ java : [21]
14+ runs-on : ubuntu-22.04
15+ steps :
16+ - name : checkout repository
17+ uses : actions/checkout@v4
18+ - name : validate gradle wrapper
19+ uses : gradle/actions/wrapper-validation@v4
20+ - name : setup jdk ${{ matrix.java }}
21+ uses : actions/setup-java@v4
22+ with :
23+ java-version : ${{ matrix.java }}
24+ distribution : ' microsoft'
25+ - name : make gradle wrapper executable
26+ run : chmod +x ./gradlew
27+ - name : build
28+ run : ./gradlew clean chiseledBuild
29+ - name : capture build artifacts
30+ uses : actions/upload-artifact@v4
31+ with :
32+ name : Artifacts
33+ path : versions/**/build/libs/*.jar
You can’t perform that action at this time.
0 commit comments