From 7497e18c7c2382a344d65cbf86a43fc14b105ae5 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Tue, 14 Jan 2025 14:19:18 +0100 Subject: [PATCH] Workflow --- .forgejo/workflows/build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .forgejo/workflows/build.yml diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 0000000..014da19 --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,19 @@ +on: [push] +jobs: + build: + runs-on: docker + container: debian:sid + steps: + - name: Install JDK and other deps + run: apt update && apt install --no-install-recommends -y openjdk-21-jdk-headless maven git nodejs curl zstd + + - name: Upload artifacts + uses: https://github.com/actions/checkout@v4 + + - name: Build + run: mvn package + + - name: Upload artifacts + uses: https://github.com/actions/upload-artifact@v3 + with: + path: target \ No newline at end of file