2020-06-11 11:07:34 -07:00
|
|
|
name: PR Build
|
|
|
|
|
2020-06-17 12:16:10 -07:00
|
|
|
on: pull_request
|
2020-06-11 11:07:34 -07:00
|
|
|
|
2022-06-12 00:31:28 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-06-11 11:07:34 -07:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: ubuntu-latest
|
2022-07-27 15:34:43 -05:00
|
|
|
if: ${{ github.repository == 'spring-projects/spring-security' }}
|
2020-06-11 11:07:34 -07:00
|
|
|
steps:
|
2022-07-27 15:34:43 -05:00
|
|
|
- uses: actions/checkout@v2
|
2022-07-27 11:07:42 -05:00
|
|
|
- name: Set up gradle
|
|
|
|
uses: spring-io/spring-gradle-build-action@v1
|
2020-06-11 11:07:34 -07:00
|
|
|
with:
|
2021-10-07 15:20:10 -03:00
|
|
|
java-version: '17'
|
2022-07-27 11:07:42 -05:00
|
|
|
distribution: 'temurin'
|
2020-06-11 11:07:34 -07:00
|
|
|
- name: Build with Gradle
|
2020-09-30 07:20:12 -07:00
|
|
|
run: ./gradlew clean build --continue --scan
|