Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Update

Update #1

Workflow file for this run

name: java
on:
pull_request:
paths:
- "generators/java/**"
branches:
- main
workflow_call:
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: "11"
- name: Build with Gradle
working-directory: ./generators/java
run: ./gradlew compileJava
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: "11"
- name: Build with Gradle
working-directory: ./generators/java
env:
TERM: dumb
run: ./gradlew test
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: "11"
- env:
TERM: dumb
name: Build with Gradle
working-directory: ./generators/java
run: ./gradlew check -x test