Skip to content

Update actions/setup-java digest to 7a6d8a8 (#161) #517

Update actions/setup-java digest to 7a6d8a8 (#161)

Update actions/setup-java digest to 7a6d8a8 (#161) #517

Workflow file for this run

name: "Merge Checks"
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
build:
name: "Build Project"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest ]
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
permissions:
contents: read
steps:
- name: "Checkout sources"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: "Set up Java"
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
with:
distribution: ${{ (runner.os == 'macOS' && runner.arch == 'ARM64') && 'zulu' || 'temurin' }}
java-version-file: '.java-version'
- name: "Setup gradle"
uses: gradle/actions/setup-gradle@473878a77f1b98e2b5ac4af93489d1656a80a5ed # v4
- name: "Run Gradle tasks"
run: ./gradlew build
- name: "Upload 'Test Report (${{ matrix.os }})' artifact"
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
if: success() || failure()
with:
name: 'Test Report (${{ matrix.os }})'
path: |
build/reports/tests/allTests/