Eduard Kuksa ffc6614ea2
Some checks failed
Gitea Action Maven build / build (push) Failing after 23s
return to JDK version 17 in action and pom
2025-01-16 22:02:40 +07:00

26 lines
592 B
YAML

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: stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'oracle'
cache: 'maven'
cache-dependency-path: 'sub-project/pom.xml'
- name: Build with Maven
run: mvn -B package --file pom.xml