9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-26 10:29:13 +00:00

Fix workflow

This commit is contained in:
Dreeam
2024-01-14 06:16:28 -05:00
parent ccc01b8efa
commit e12f25b099

View File

@@ -24,10 +24,16 @@ jobs:
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
run: mv build/libs/Leaf-paperclip-1.20.4-R0.1-SNAPSHOT-reobf.jar ./leaf-1.20.4.jar
run: mv build/libs/leaf-paperclip-1.20.4-R0.1-SNAPSHOT-reobf.jar ./leaf-1.20.4.jar
- name: Upload Leaf
uses: actions/upload-artifact@main
with:
name: Leaf 1.20.4
path: ./leaf-1.20.4.jar
- name: Release Leaf
if: github.ref_name == 'ver/1.20.4'
if: github.ref_name == 'ver/1.20.4' && contains(github.event.commits[0].message, '[Release]')
uses: marvinpinto/action-automatic-releases@master
with:
title: "Leaf 1.20.4"