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'