Skip to content

Update GitHub Actions #121

Update GitHub Actions

Update GitHub Actions #121

Workflow file for this run

name: Build check
on:
push:
branches:
- main
paths:
- '**'
- '!**.md'
- '!.github/**'
- '.github/workflows/build.yml'
pull_request:
branches:
- main
paths:
- '**'
- '!**.md'
- '!.github/**'
- '.github/workflows/build.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: 17
distribution: adopt
- name: Set up gradle
uses: gradle/actions/setup-gradle@473878a77f1b98e2b5ac4af93489d1656a80a5ed # v4.2.0
- name: Build
run: ./gradlew build