From 39af64bc90a1303c05e39badd4595caab97d97af Mon Sep 17 00:00:00 2001 From: ThePindabaas <219561634+ThePindabaas@users.noreply.github.com> Date: Sat, 27 Jun 2026 12:46:01 +0200 Subject: [PATCH] add build workflow --- .gitea/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..f3410b3 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,21 @@ +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: [push, workflow_dispatch] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-java@v5 + with: + distribution: 'temurin' + java-version: '25' + - run: ./gradlew assemble + - run: ./gradlew test + - run: ./gradlew jar + - uses: actions/upload-artifact@v4 + with: + name: "griefalert-${{ gitea.sha }}.jar" + path: build/libs/GriefAlert-*.jar + retention-days: 7 \ No newline at end of file