Compare commits
3 Commits
master
...
f9404486c8
| Author | SHA1 | Date | |
|---|---|---|---|
| f9404486c8 | |||
| 28945e54ae | |||
| 962bc53068 |
@@ -1,31 +0,0 @@
|
|||||||
name: Gradle Build on PR
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_call:
|
|
||||||
inputs:
|
|
||||||
JAVA_VERSION:
|
|
||||||
default: 17
|
|
||||||
description: Java version to use
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
BUILD_OPTION:
|
|
||||||
default: ""
|
|
||||||
description: Gradle build option
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
gradle-build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 1
|
|
||||||
- name: Set up JDK
|
|
||||||
uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
distribution: temurin
|
|
||||||
java-version: ${{ inputs.JAVA_VERSION }}
|
|
||||||
- name: Run Gradle Build
|
|
||||||
run: ./gradlew build ${{ inputs.BUILD_OPTION }}
|
|
||||||
Reference in New Issue
Block a user