diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 307dac8..688417d 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -19,13 +19,12 @@ jobs: contents: read packages: write steps: - - uses: action/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: '17' - distribution: 'adopt' - - name: Build with Maven - run: mvn --batch-mode deploy + distribution: 'temurin' + - name: Run the Maven verify phase + run: mvn --batch-mode --update-snapshots verify env: GITHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}