Skip to content

Revert "Fix compatibility problems with Spring Framework 6.2" #1

Revert "Fix compatibility problems with Spring Framework 6.2"

Revert "Fix compatibility problems with Spring Framework 6.2" #1

name: Build Pull Request
on: pull_request
permissions:
contents: read
jobs:
build:
name: Build Pull Request
runs-on: ubuntu-latest
if: ${{ github.repository == 'spring-projects/spring-restdocs' }}
steps:
- name: Set Up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'liberica'
- name: Check Out
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
- name: Set Up Gradle
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
- name: Build
env:

Check failure on line 25 in .github/workflows/build-pull-request.yml

View workflow run for this annotation

GitHub Actions / Build Pull Request

Invalid workflow file

The workflow is not valid. .github/workflows/build-pull-request.yml (Line: 25, Col: 13): Unexpected value ''
run: ./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --no-parallel --continue build
- name: Upload Build Reports
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-reports
path: '**/build/reports/'