From 42de884b6590c09cc5939f5d0b6c7d82ad9b212a Mon Sep 17 00:00:00 2001 From: Logan Fick Date: Sat, 18 May 2024 21:10:40 -0400 Subject: [PATCH] Added Gitea Actions workflow for building plugin JAR artifact. --- .gitea/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..7a4d9ba --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build Plugin JAR File +on: [push] + +jobs: + Build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Java environment + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + + - name: Build artifact + run: chmod +x ./gradlew && ./gradlew build --no-daemon + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: Plugin JAR + path: build/libs/Snowbrawl-2.jar