Add forgejo Actions workflow for Maven build and packaging
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
name: Maven Build and package
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- develop
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
compile:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
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: Compile (skip tests)
|
||||||
|
run: mvn -B compile -DskipTests
|
||||||
Reference in New Issue
Block a user