mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-22 08:29:28 +00:00
11
.github/workflows/build-121.yml
vendored
11
.github/workflows/build-121.yml
vendored
@@ -28,10 +28,13 @@ jobs:
|
|||||||
run: ./gradlew -Dorg.gradle.jvmargs="-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector" applyPatches --stacktrace --no-daemon
|
run: ./gradlew -Dorg.gradle.jvmargs="-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector" applyPatches --stacktrace --no-daemon
|
||||||
- name: Create MojmapPaperclipJar
|
- name: Create MojmapPaperclipJar
|
||||||
run: ./gradlew -Dorg.gradle.jvmargs="-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector" createMojmapPaperclipJar --stacktrace --no-daemon
|
run: ./gradlew -Dorg.gradle.jvmargs="-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector" createMojmapPaperclipJar --stacktrace --no-daemon
|
||||||
|
- name: Create ReobfPaperclipJar
|
||||||
|
run: ./gradlew -Dorg.gradle.jvmargs="-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector" createReobfPaperclipJar --stacktrace --no-daemon
|
||||||
|
|
||||||
- name: Rename Paperclip Jar
|
- name: Rename Paperclip Jar
|
||||||
run: |
|
run: |
|
||||||
mv build/libs/leaf-paperclip-1.21-R0.1-SNAPSHOT-mojmap.jar ./leaf-1.21.jar
|
mv build/libs/leaf-paperclip-1.21-R0.1-SNAPSHOT-mojmap.jar ./leaf-1.21-mojmap.jar
|
||||||
|
mv build/libs/leaf-paperclip-1.21-R0.1-SNAPSHOT-reobf.jar ./leaf-1.21-reobf.jar
|
||||||
|
|
||||||
# Publish manually instead of using workflow
|
# Publish manually instead of using workflow
|
||||||
# - name: Publish API
|
# - name: Publish API
|
||||||
@@ -48,7 +51,11 @@ jobs:
|
|||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
with:
|
with:
|
||||||
name: Leaf 1.21
|
name: Leaf 1.21
|
||||||
path: ./leaf-1.21.jar
|
path: ./leaf-1.21-*.jar
|
||||||
|
|
||||||
|
- name: Rename Paperclip Jar
|
||||||
|
run: |
|
||||||
|
mv ./leaf-1.21-mojmap.jar ./leaf-1.21.jar
|
||||||
|
|
||||||
- name: Release Leaf
|
- name: Release Leaf
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
|
|||||||
Reference in New Issue
Block a user