Mark (default_message)
as internal
#436
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
name: Build under Windows | |
on: pull_request | |
jobs: | |
build: | |
name: Build under Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: zulu | |
cache: gradle | |
# See: https://github.com/al-cheb/configure-pagefile-action | |
- name: Configure Pagefile | |
uses: al-cheb/configure-pagefile-action@v1.3 | |
- name: Build project and run tests | |
shell: cmd | |
# For the reason on `--no-daemon` see https://github.com/actions/cache/issues/454 | |
run: gradlew.bat build --stacktrace --no-daemon | |
# See: https://github.com/marketplace/actions/junit-report-action | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v4.0.3 | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: '**/build/test-results/**/TEST-*.xml' | |
require_tests: true # will fail workflow if test reports not found |