spring-security/.github/workflows/pr-build-workflow.yml

26 lines
562 B
YAML
Raw Normal View History

name: PR Build
on: pull_request
2021-05-03 16:12:12 -04:00
env:
RUN_JOBS: ${{ github.repository == 'spring-projects/spring-security' }}
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
2021-05-03 16:12:12 -04:00
- if: env.RUN_JOBS == 'true'
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
2021-05-03 16:12:12 -04:00
if: env.RUN_JOBS == 'true'
2020-09-30 10:20:12 -04:00
run: ./gradlew clean build --continue --scan