File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+ workflow_dispatch :
11+
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : true
15+
16+ jobs :
17+ build :
18+ name : Build with Java 21
19+ runs-on : ubuntu-latest
20+ timeout-minutes : 15
21+ env :
22+ VERSION : 0.0.0-SNAPSHOT
23+
24+ steps :
25+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26+ - uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
27+ with :
28+ distribution : " adopt"
29+ java-version : 21
30+
31+ - name : Setup Gradle
32+ uses : gradle/actions/setup-gradle@f29f5a9d7b09a7c6b29859002d29d24e1674c884 # v5.0.1
33+
34+ - name : Build with Gradle
35+ run : ./gradlew build
36+
37+ - name : Upload a Build Artifact
38+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
39+ with :
40+ path : modules/**/build/libs/*.jar
You can’t perform that action at this time.
0 commit comments