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