File tree Expand file tree Collapse file tree 3 files changed +85
-0
lines changed
Expand file tree Collapse file tree 3 files changed +85
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " maven"
4+ directory : " /"
5+ schedule :
6+ interval : " daily"
7+ open-pull-requests-limit : 10
8+ - package-ecosystem : " github-actions"
9+ directory : " /"
10+ schedule :
11+ interval : " daily"
Original file line number Diff line number Diff line change 1+ name : Build & Publish
2+
3+ on :
4+ push :
5+ tags : [ "*" ]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
12+ steps :
13+ - uses : actions/checkout@v5
14+
15+ - name : Generate changelog
16+ id : changelog
17+ 18+ with :
19+ myToken : ${{ secrets.GITHUB_TOKEN }}
20+
21+ - name : Set up JDK 21
22+ uses : actions/setup-java@v5
23+ with :
24+ java-version : ' 21'
25+ distribution : ' temurin'
26+ cache : maven
27+
28+ - name : Build with Maven
29+ run : mvn clean install
30+
31+ - name : Generate Javadocs
32+ run : mvn javadoc:aggregate-no-fork
33+ - name : Deploy Javadocs
34+ uses : peaceiris/actions-gh-pages@v4
35+ with :
36+ github_token : ${{ secrets.GITHUB_TOKEN }}
37+ publish_dir : ./target/reports/apidocs
38+
39+ - name : Release
40+ uses : softprops/action-gh-release@v2
41+ with :
42+ body : ${{ steps.changelog.outputs.changelog }}
43+ draft : false
44+ prerelease : false
Original file line number Diff line number Diff line change 1+ name : Build & Upload
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v5
14+ - name : Set up JDK 21
15+ uses : actions/setup-java@v5
16+ with :
17+ java-version : ' 21'
18+ distribution : ' temurin'
19+ cache : maven
20+ - name : Unshallow
21+ run : git fetch --unshallow --quiet
22+ - name : Build with Maven
23+ run : mvn -B package
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+ - name : Upload artifact
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : " Topper"
30+ path : " **/topper*.jar"
You can’t perform that action at this time.
0 commit comments