File tree Expand file tree Collapse file tree 4 files changed +41
-8
lines changed
Expand file tree Collapse file tree 4 files changed +41
-8
lines changed Original file line number Diff line number Diff line change 1111 name : Build with Java 8
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v4
15- - uses : actions/setup-java@v4
14+ - uses : actions/checkout@v5
15+ - uses : actions/setup-java@v5
1616 with :
1717 java-version : " 8"
1818 distribution : " adopt"
2222 - run : mvn -B package
2323
2424 - name : Upload a Build Artifact
25- 25+ 2626 with :
2727 path : /home/runner/work/KDStatusReloaded/KDStatusReloaded/target/
Original file line number Diff line number Diff line change 1313 permissions :
1414 contents : read
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@v5
1717 - name : Set up JDK 8
18- uses : actions/setup-java@v4
18+ uses : actions/setup-java@v5
1919 with :
2020 java-version : ' 8'
2121 distribution : ' adopt'
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - *
7+
8+ jobs :
9+ build-and-release :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v5
16+ - name : Setup Java 8
17+ 18+ with :
19+ distribution : " corretto"
20+ java-version : " 8"
21+ cache : " maven"
22+ - name : Check java version
23+ run : java -version
24+ - name : Check maven version
25+ run : mvn --version
26+ - name : Build
27+ run : mvn -B package
28+ - name : Create release
29+ 30+ with :
31+ draft : true
32+ files : target/*.jar
33+ generate_release_notes : true
Original file line number Diff line number Diff line change 4242 <plugin >
4343 <groupId >org.apache.maven.plugins</groupId >
4444 <artifactId >maven-compiler-plugin</artifactId >
45- <version >3.13 .0</version >
45+ <version >3.14 .0</version >
4646 <configuration >
4747 <source >${java.version} </source >
4848 <target >${java.version} </target >
8989 <dependency >
9090 <groupId >org.apache.maven.surefire</groupId >
9191 <artifactId >surefire-junit-platform</artifactId >
92- <version >3.5.2 </version >
92+ <version >3.5.3 </version >
9393 </dependency >
9494 </dependencies >
9595 <configuration >
120120 <dependency >
121121 <groupId >org.projectlombok</groupId >
122122 <artifactId >lombok</artifactId >
123- <version >1.18.36 </version >
123+ <version >1.18.38 </version >
124124 </dependency >
125125 <dependency >
126126 <groupId >me.rayzr522</groupId >
You can’t perform that action at this time.
0 commit comments