add maven build gitea action
Some checks failed
Gitea Actions Maven Build / build (push) Failing after 6m35s
Some checks failed
Gitea Actions Maven Build / build (push) Failing after 6m35s
This commit is contained in:
parent
671ce3eaa0
commit
249d890a92
20
.gitea/workflows/maven.yaml
Normal file
20
.gitea/workflows/maven.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user