Skip to content

Commit

Permalink
updated for eld v2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Oct 17, 2024
1 parent a88d99c commit 8b8cdfd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ env:
on:
push:
branches:
- develop
- '**'
- '!master'

jobs:
build_plugin:
Expand All @@ -15,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
with:
java-version: '18'
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: mvn --batch-mode clean package
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v2
- uses: eric2788/maven-jar-publish@v2
with:
java-version: 18
java-version: 17
body: 版本更新請到[這裏](https://eric2788.gitbook.io/eldependenci-mvc/references/update)查看。
upload-module: './ELDependenci-MVC-plugin'
- name: 'Update javadocs'
Expand All @@ -44,9 +44,9 @@ jobs:
with:
msg: ${{ steps.latest-tag.outputs.tag }}
separator: '.'
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
java-version: '18'
java-version: '17'
distribution: 'adopt'
- name: Publish package
run: mvn --batch-mode clean deploy
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
- name: Checkout Source Code
id: checkout-source
uses: actions/checkout@v2
- name: Set up JDK 18
- name: Set up JDK
id: setup-java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 18
java-version: 17
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package --file pom.xml
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</modules>

<properties>
<maven.compiler.target>18</maven.compiler.target>
<maven.compiler.source>18</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
</properties>

<repositories>
Expand Down Expand Up @@ -52,19 +52,19 @@
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.18.2-R0.1-SNAPSHOT</version>
<version>1.20.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eldependenci</groupId>
<artifactId>eldependenci-bukkit</artifactId>
<version>2.0.1</version>
<version>2.0.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eldependenci</groupId>
<artifactId>eldependenci-addon</artifactId>
<version>2.0.1</version>
<version>2.0.3</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -184,4 +184,4 @@
</repository>
</distributionManagement>

</project>
</project>

0 comments on commit 8b8cdfd

Please sign in to comment.