diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa96e65..6f784a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,7 @@ jobs: publish: runs-on: ubuntu-latest + needs: verify if: github.event_name == 'push' && github.ref == 'refs/heads/main' permissions: @@ -36,6 +37,8 @@ jobs: distribution: 'temurin' java-version: '21' cache: 'gradle' + - name: Build with Gradle + run: ./gradlew build - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: