Add Gradle wrapper validation #679
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 [Windows] | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Set up Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Compilation | |
run: ./gradlew classes | |
- name: Unit tests | |
run: ./gradlew test | |
- name: Integration tests | |
run: ./gradlew integrationTest | |
- name: Assemble artifacts | |
run: ./gradlew assemble javadoc asciidoctorAllGuides |