mirror of https://github.com/elunez/eladmin
add lombok config
parent
cd4c1e6798
commit
7d12b0c9f3
|
@ -0,0 +1,35 @@
|
||||||
|
name: Maven Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ '*' ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ '*' ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
java-version: '17'
|
||||||
|
distribution: 'temurin'
|
||||||
|
cache: maven
|
||||||
|
|
||||||
|
- name: Make Maven wrapper executable
|
||||||
|
run: chmod +x ./mvnw
|
||||||
|
|
||||||
|
- name: Build with Maven
|
||||||
|
run: ./mvnw clean package -DskipTests
|
||||||
|
|
||||||
|
- name: Archive production artifacts
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: jar-files
|
||||||
|
path: |
|
||||||
|
eladmin-system/target/*.jar
|
||||||
|
**/target/*.jar
|
Loading…
Reference in New Issue