Create actions to start validating builds #1
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
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: gradle/wrapper-validation-action@v1 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
# Just run the HTML task for now - the others need to install dependencies | |
- run: ./gradlew generateDocsHtml | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: thymeleaf-docs | |
path: build/site |