Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 02:50:09 +01:00
Update jdk version and distribution in actions
Dieser Commit ist enthalten in:
Ursprung
a771940776
Commit
06cae13223
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java: [17]
|
java: [21]
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -29,7 +29,7 @@ jobs:
|
|||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'temurin'
|
distribution: 'zulu'
|
||||||
|
|
||||||
- name: Validate Gradle wrapper
|
- name: Validate Gradle wrapper
|
||||||
uses: gradle/wrapper-validation-action@v2
|
uses: gradle/wrapper-validation-action@v2
|
||||||
@ -87,7 +87,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create Paperclip Jar
|
- name: Create Paperclip Jar
|
||||||
if: fromJSON(steps.determine.outputs.result).action == 'paperclip'
|
if: fromJSON(steps.determine.outputs.result).action == 'paperclip'
|
||||||
run: ./gradlew createReobfPaperclipJar --stacktrace
|
run: ./gradlew createMojmapPaperclipJar --stacktrace
|
||||||
|
|
||||||
- name: Upload Paperclip Jar
|
- name: Upload Paperclip Jar
|
||||||
if: fromJSON(steps.determine.outputs.result).action == 'paperclip'
|
if: fromJSON(steps.determine.outputs.result).action == 'paperclip'
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren