Skip to content

Commit b526963

Browse files
Fix: build-remote CI repository & ref inputs, add java_version input
1 parent 8a485b6 commit b526963

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/build-remote.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
required: true
1212
description: 'The ref of the remote'
1313
type: string
14+
java_version:
15+
required: true
16+
description: 'The Java version to build with'
17+
type: number
1418

1519
permissions: {}
1620

@@ -21,8 +25,9 @@ jobs:
2125
- name: Setup Gradle
2226
uses: GeyserMC/actions/setup-gradle-composite@master
2327
with:
24-
setup-java_java-version: 25
25-
setup-gradle_cache-read-only: true
28+
checkout_repository: '${{ inputs.repository }}'
29+
checkout_ref: '${{ inputs.ref }}'
30+
setup-java_java-version: ${{ inputs.java_version }}
2631

2732
- name: Build Floodgate-Modded
2833
run: ./gradlew build

.github/workflows/pull-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ jobs:
1212
with:
1313
repository: ${{ github.event.pull_request.head.repo.full_name }}
1414
ref: ${{ github.event.pull_request.head.sha }}
15+
java_version: 25

0 commit comments

Comments
 (0)