Fix CI job. Remove the unknown branch 4.0.0-SNAPSHOT and update the actions used. Signed-off-by: James R. Perkins <jperkins@redhat.com>
diff --git a/.github/workflows/maven-package.yml b/.github/workflows/maven-package.yml index 5fc3cee..c283960 100644 --- a/.github/workflows/maven-package.yml +++ b/.github/workflows/maven-package.yml
@@ -3,9 +3,9 @@ on: push: - branches: [ master, 4.0-SNAPSHOT ] + branches: [ main ] pull_request: - branches: [ master, 4.0-SNAPSHOT ] + branches: [ main ] jobs: build: @@ -16,11 +16,11 @@ java: ['17', '21' ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: 'temurin' - name: Build with Maven - run: mvn -B verify + run: mvn -B -ntp clean verify -Djaxrs.all.build