Merge pull request #1193 from Jocce-Nilsson/master #629
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@v1 | |
- name: Set up Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Compilation | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: classes | |
- name: Unit tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: test | |
- name: Integration tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: integrationTest | |
- name: Assemble artifacts | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: assemble javadoc asciidoctorAllGuides | |
- name: Store artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: gradle-docker-plugin.jar | |
path: build/libs/*.jar |