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 : CI
2+ on :
3+ push :
4+ branches : [ main ]
5+ pull_request :
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ - uses : actions/setup-java@v4
12+ with :
13+ distribution : temurin
14+ java-version : ' 21'
15+ - run : chmod +x gradlew
16+ - run : ./gradlew clean build --no-daemon
Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ tags :
5+ - ' v*'
6+ permissions :
7+ contents : write
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ with :
14+ fetch-depth : 0
15+ - uses : actions/setup-java@v4
16+ with :
17+ distribution : temurin
18+ java-version : ' 21'
19+ - run : ./gradlew clean uberJar --no-daemon
20+ - run : |
21+ cd build/libs
22+ sha256sum *.jar > checksums.txt
23+ - uses : softprops/action-gh-release@v2
24+ with :
25+ generate_release_notes : true
26+ files : |
27+ build/libs/*.jar
28+ build/libs/checksums.txt
You can’t perform that action at this time.
0 commit comments