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