22 lines
482 B
YAML
22 lines
482 B
YAML
name: PR Build
|
|
|
|
on: pull_request
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'spring-projects/spring-security' }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up gradle
|
|
uses: spring-io/spring-gradle-build-action@v1
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
- name: Build with Gradle
|
|
run: ./gradlew clean build --continue --scan
|