Skip to content

Refactor CI

Refactor CI #63

Workflow file for this run

name: Java
on:
push:
branches: [ main ]
paths:
- .github/workflows/java.yml
- java/**
pull_request:
branches: [ main ]
paths:
- .github/workflows/java.yml
- java/**
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
cache: gradle
- name: Build
uses: gradle/actions/setup-gradle@v3
with:
arguments: build
build-root-directory: java