Upgrade spring from 5 to 6 #265
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
paths: | |
- 'docs/**' | |
- 'gradle/**' | |
jobs: | |
check-doc-build: | |
name: TDS Documentation Build Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Cache Gradle packages | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Build docs using Gradle | |
run: './gradlew :docs:build' | |
- name: Upload a preview of the rendered html | |
if: success() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: documentation_${{ github.sha }} | |
path: docs/build/site |