From 8e98599859d0ad416ca3a5c6e1399f01b1d54fc9 Mon Sep 17 00:00:00 2001
From: Sebastiaan de Schaetzen <sebastiaan.de.schaetzen@gmail.com>
Date: Wed, 21 Aug 2024 18:15:36 +0200
Subject: [PATCH] Add gitea release workflow

---
 .gitea/workflows/publish.yaml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 .gitea/workflows/publish.yaml

diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml
new file mode 100644
index 0000000..6180a89
--- /dev/null
+++ b/.gitea/workflows/publish.yaml
@@ -0,0 +1,23 @@
+name: Build and Publish
+on: push
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Check out
+        uses: actions/checkout@v4
+
+      - name: Setup Java
+        uses: actions/setup-java@v4
+        with:
+          distribution: 'temurin'
+          java-version: '11'
+          cache: 'maven'
+
+      - name: Build
+        run: mvn -B package --file pom.xml
+
+      - deploy: Publish
+        run: mvn deploy
+