Skip to content

Update build pipeline #88

Update build pipeline

Update build pipeline #88

Workflow file for this run

# Continuous Integration
name: Build
on:
push:
branches:
- '*'
pull_request:
branches:
- main
- develop
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
# ================================
# SHALLOW CLONE
# ================================
- name: Shallow clone
uses: actions/checkout@v4
# ================================
# SET UP JDK
# ================================
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-package: jdk
java-version: 23
# ================================
# VALIDATE GRADLE WRAPPER
# ================================
- name: Validate Gradle Wrapper files
uses: gradle/actions/wrapper-validation@v4
# ================================
# SET UP GRADLE
# ================================
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
with:
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
build-scan-terms-of-use-agree: "yes"
cache-read-only: ${{ github.ref_name != github.event.repository.default_branch && github.ref_name != 'develop' }}
# ================================
# CHECK
# ================================
- name: Check
run: ./gradlew check