From 5573676efb69aeba88be4713f8933c9122423920 Mon Sep 17 00:00:00 2001 From: jmarchel7bulls Date: Wed, 30 Oct 2024 12:28:44 +0100 Subject: [PATCH] Add mvn package build --- .github/workflows/maven.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..0448c49 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,26 @@ +name: Build and Deploy Maven Package + +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + + - name: Build and deploy + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + working-directory: nebulous-requirements-extractor + run: | + mvn --no-transfer-progress clean deploy