name: PR Build on: pull_request env: DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} permissions: contents: read jobs: build: name: Build runs-on: ubuntu-latest if: ${{ github.repository == 'spring-projects/spring-security' }} steps: - uses: actions/checkout@v4 - name: Set up gradle uses: spring-io/spring-gradle-build-action@v2 with: java-version: '11' distribution: 'adopt' - name: Build with Gradle run: ./gradlew clean build --continue --scan