Skip to content

Always upload reports #1541

Always upload reports

Always upload reports #1541

Workflow file for this run

name: Test
on:
push:
branches: ['*']
pull_request:
branches: ['*']
jobs:
build:
name: Build
strategy:
matrix:
os:
- 'ubuntu-latest'
- 'macos-latest'
- 'windows-latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: |
11
17
21
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/jdks
~/.gradle/native
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', 'gradle/**', 'gradle.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- run: ./gradlew build --no-daemon --stacktrace
- uses: actions/upload-artifact@v4
continue-on-error: true
with:
name: ${{ matrix.os }}-reports
path: 'build/reports/'