add maven build gitea action
Some checks failed
Gitea Actions Maven Build / build (push) Failing after 6m35s

This commit is contained in:
Eduard Kuksa 2025-01-11 14:35:06 +07:00
parent 671ce3eaa0
commit 249d890a92

View File

@ -0,0 +1,20 @@
name: Gitea Actions Maven Build
on:
push:
branches: ['master']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml