mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-27 19:09:22 +00:00
1.20
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Build Leaf 1.19.4
|
||||
name: Build Leaf 1.20
|
||||
on: [ push, pull_request ]
|
||||
jobs:
|
||||
build:
|
||||
@@ -22,18 +22,18 @@ jobs:
|
||||
- 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
|
||||
run: mv build/libs/leaf-paperclip-1.19.4-R0.1-SNAPSHOT-reobf.jar ./leaf-1.19.4.jar
|
||||
run: mv build/libs/leaf-paperclip-1.20-R0.1-SNAPSHOT-reobf.jar ./leaf-1.20.jar
|
||||
- name: Upload Leaf
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Leaf
|
||||
path: ./leaf-1.19.4.jar
|
||||
path: ./leaf-1.20.jar
|
||||
- name: Release Leaf
|
||||
if: github.ref_name == 'ver/1.19.4'
|
||||
if: github.ref_name == 'ver/1.20'
|
||||
uses: softprops/action-gh-release@master
|
||||
with:
|
||||
name: "Leaf 1.19.4"
|
||||
tag_name: "ver-1.19.4"
|
||||
name: "Leaf 1.20"
|
||||
tag_name: "ver-1.20"
|
||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
files: "./leaf-1.19.4.jar"
|
||||
files: "./leaf-1.20.jar"
|
||||
prerelease: false
|
||||
Reference in New Issue
Block a user