From ea27f2236c58f94de110ed785516237319791164 Mon Sep 17 00:00:00 2001 From: Lubos Racansky Date: Wed, 4 Oct 2023 13:38:58 +0200 Subject: [PATCH] Add GitHub Action for mvn package (cherry picked from commit 7da51435fb674ece59832f5425acb8685fd0318c) --- .github/workflows/maven-package.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/maven-package.yml diff --git a/.github/workflows/maven-package.yml b/.github/workflows/maven-package.yml new file mode 100644 index 0000000..87374b1 --- /dev/null +++ b/.github/workflows/maven-package.yml @@ -0,0 +1,24 @@ +name: Maven Package + +on: + workflow_dispatch: + +jobs: + maven-package: + 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: Run Maven Package Step + run: mvn -B -U package + - name: Archive WAR Artifacts + uses: actions/upload-artifact@v3 + with: + name: War Artifacts + path: '**/target/*.war'