Skip to content

Commit 9335b22

Browse files
authored
Bump Paper API to 1.21.11 and Java to 25 (#55)
2 parents 2235426 + e45817c commit 9335b22

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626

2727
steps:
2828
- uses: actions/checkout@v3
29-
- name: Set up JDK 17
29+
- name: Set up JDK 25
3030
uses: actions/setup-java@v3
3131
with:
32-
java-version: '17'
32+
java-version: '25'
3333
distribution: 'temurin'
3434
cache: maven
3535
- name: Build with Maven

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Java
1717
uses: actions/setup-java@v3
1818
with:
19-
java-version: '17'
19+
java-version: '25'
2020
distribution: 'temurin'
2121

2222
- name: Set release version
@@ -32,8 +32,8 @@ jobs:
3232
run: mvn clean package
3333

3434
- name: Upload to release
35-
uses: JasonEtco/upload-to-release@master
35+
uses: cloudnode-pro/release-upload-asset@v1
3636
with:
37-
args: target/SMPCore-${{ steps.version.outputs.VERSION }}.jar application/java-archive
38-
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
gh-token: ${{ github.token }}
38+
files: |-
39+
target/SMPCore-${{ steps.version.outputs.VERSION }}.jar; type=application/java-archive

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<artifactId>maven-compiler-plugin</artifactId>
2424
<version>3.14.1</version>
2525
<configuration>
26-
<source>17</source>
27-
<target>17</target>
26+
<source>25</source>
27+
<target>25</target>
2828
</configuration>
2929
</plugin>
3030
<plugin>
@@ -67,7 +67,7 @@
6767
<dependency>
6868
<groupId>io.papermc.paper</groupId>
6969
<artifactId>paper-api</artifactId>
70-
<version>1.20.4-R0.1-SNAPSHOT</version>
70+
<version>1.21.11-R0.1-SNAPSHOT</version>
7171
<scope>provided</scope>
7272
</dependency>
7373
<dependency>

0 commit comments

Comments
 (0)