Add forgejo Actions workflow for Maven build and packaging

This commit is contained in:
2026-03-03 18:20:39 +01:00
parent 85b71b851d
commit eb8eb1ca43
+5 -7
View File
@@ -10,15 +10,13 @@ on:
jobs:
compile:
runs-on: ubuntu-latest
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: "17"
cache: maven
- name: Install JDK 17 and Maven
run: |
apt-get update
apt-get install -y openjdk-17-jdk maven
- name: Compile (skip tests)
run: mvn -B compile -DskipTests