From d5c402cfc7cc9242f647b99416be938956964383 Mon Sep 17 00:00:00 2001 From: amyavi <144570677+amyavi@users.noreply.github.com> Date: Sun, 23 Jun 2024 12:51:26 -0300 Subject: [PATCH] chore: bump used actions, checkstyle & paper --- .github/workflows/main.yml | 9 +++++---- pom.xml | 4 ++-- src/main/resources/plugin.yml | 5 ++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d5644a3..3af4259 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,14 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: 17 - name: Cache maven packages to speed up build - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} @@ -27,7 +27,8 @@ jobs: - name: Build with Maven run: mvn -B package --file pom.xml - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: CommandSpy path: target/CommandSpy.jar + compression-level: 0 diff --git a/pom.xml b/pom.xml index 8c686a8..15ddd18 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ io.papermc.paper paper-api - 1.18.2-R0.1-SNAPSHOT + 1.19.4-R0.1-SNAPSHOT provided @@ -33,7 +33,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - 3.1.2 + 3.4.0 checkstyle diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index f95cb20..af086de 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,13 +1,12 @@ name: CommandSpy main: pw.kaboom.commandspy.Main description: Plugin that allows you to spy on players' commands. -api-version: 1.13 +api-version: '1.19' version: master folia-supported: true commands: commandspy: - aliases: [c,cs,cspy] + aliases: [ c, cs, cspy ] description: Allows you to spy on players' commands - usage: /commandspy permission: commandspy.command