Skip to content

Update actions/checkout action to v4 #312

Update actions/checkout action to v4

Update actions/checkout action to v4 #312

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11
- name: Assemble and Check
uses: gradle/gradle-build-action@v2
with:
arguments: assemble check
- name: Upload reports
if: failure()
uses: actions/upload-artifact@v3
with:
name: build
path: ./**/build/reports