This commit is contained in:
parent
497bc1a4aa
commit
b4a0ec5b44
24
.gitea/workflows/maven.yml
Normal file
24
.gitea/workflows/maven.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user