add maven build action
Some checks failed
Gitea Action Maven build / build (push) Failing after 0s

This commit is contained in:
Eduard Kuksa 2025-01-16 21:25:35 +07:00
parent 497bc1a4aa
commit b4a0ec5b44

View File

@ -0,0 +1,24 @@
name: Gitea Action Maven build
on:
push:
branches:['master']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
- uses: actions/checkout@v4
- name: Set up Maven
uses: actions/setup-maven@v3
with:
maven-version: 3.6.3
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: 'oracle'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml