Skip to content

Update actions/setup-java digest to 2dfa201 #464

Update actions/setup-java digest to 2dfa201

Update actions/setup-java digest to 2dfa201 #464

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: "Set up Java"
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4
with:
distribution: ${{ (runner.os == 'macOS' && runner.arch == 'ARM64') && 'zulu' || 'temurin' }}
java-version-file: '.java-version'
- name: "Setup gradle"
uses: gradle/actions/setup-gradle@16bf8bc8fe830fa669c3c9f914d3eb147c629707 # v4
- name: "Run Gradle tasks"
run: ./gradlew build
- name: "Upload 'Test Report (${{ matrix.os }})' artifact"
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4
if: success() || failure()
with:
name: 'Test Report (${{ matrix.os }})'
path: |
build/reports/tests/allTests/