Skip to content

Merge pull request #9 from 000000000000000000000000000000000000O0O/ma… #26

Merge pull request #9 from 000000000000000000000000000000000000O0O/ma…

Merge pull request #9 from 000000000000000000000000000000000000O0O/ma… #26

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
checks: write
pull-requests: write
jobs:
build:
strategy:
fail-fast: false
matrix:
# Alternative for testing on multiple platforms. Ubuntu runs the quickest with the latest JVM.
# os: [ubuntu-latest, windows-latest, macos-latest]
# java-version: [11, 17]
os: [ ubuntu-latest ]
java-version: [ 17 ]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: adopt-hotspot
java-version: ${{ matrix.java-version }}
- run: ./gradlew --info build
- name: Upload Test Results
uses: actions/[email protected]
if: always()
with:
name: Event File
retention-days: 21
path: |
**/TEST-*
**/hs_err_pid*
# taken from: https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#support-fork-repositories-and-dependabot-branches
event_file:
name: "Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Event File
path: ${{ github.event_path }}