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 7abd183
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 19 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,22 @@ env:
on:
push:
branches:
- develop
- '**'
- '!master'

jobs:
build_plugin:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '18'
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: mvn --batch-mode clean package
- name: upload artifacts
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: plugin
path: ./ELDependenci-MVC-plugin/target
8 changes: 4 additions & 4 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 @@ -36,17 +36,17 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-ecosystem/action-get-latest-tag@v1
id: latest-tag
- uses: jungwinter/split@v2
id: version
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
11 changes: 6 additions & 5 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
steps:
- name: Checkout Source Code
id: checkout-source
uses: actions/checkout@v2
- name: Set up JDK 18
uses: actions/checkout@v4
- 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 7abd183

Please sign in to comment.