From 7d12b0c9f3cd5ee88477cda8260d8cc30aff7309 Mon Sep 17 00:00:00 2001 From: chanhengseang Date: Mon, 26 May 2025 12:50:02 -0700 Subject: [PATCH] add lombok config --- .github | 1 - .github/workflows/maven-build.yml | 35 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) delete mode 100644 .github create mode 100644 .github/workflows/maven-build.yml diff --git a/.github b/.github deleted file mode 100644 index 8b137891..00000000 --- a/.github +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml new file mode 100644 index 00000000..3c2c57be --- /dev/null +++ b/.github/workflows/maven-build.yml @@ -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