Skip to content

Commit

Permalink
Merge pull request #7 from johnjstuart/add-maven-action
Browse files Browse the repository at this point in the history
Create maven action
  • Loading branch information
prathasirisha authored Jun 27, 2024
2 parents 48706d4 + 5d41127 commit 590f932
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Maven Package

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Git Checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'

- name: Maven Verify
run: mvn verify -DskipTests=true -Dmaven.javadoc.skip=true -B -V --no-transfer-progress
- name: Maven run Tests
run: mvn package -B -pl !graphql-kata-exercises

0 comments on commit 590f932

Please sign in to comment.