mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-27 02:49:19 +00:00
1.21.1
This commit is contained in:
2
.github/workflows/auto-update.yml
vendored
2
.github/workflows/auto-update.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
distribution: 'zulu'
|
||||
java-version: 21
|
||||
|
||||
- name: Running tests before push
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
name: Build Leaf 1.21
|
||||
name: Build Leaf 1.21.1
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "ver/1.21" ]
|
||||
branches: [ "ver/1.21.1" ]
|
||||
pull_request:
|
||||
branches: [ "ver/1.21" ]
|
||||
branches: [ "ver/1.21.1" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -33,8 +33,8 @@ jobs:
|
||||
|
||||
- name: Rename Paperclip Jar
|
||||
run: |
|
||||
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
|
||||
mv build/libs/leaf-paperclip-1.21.1-R0.1-SNAPSHOT-mojmap.jar ./leaf-1.21.1-mojmap.jar
|
||||
mv build/libs/leaf-paperclip-1.21.1-R0.1-SNAPSHOT-reobf.jar ./leaf-1.21.1-reobf.jar
|
||||
|
||||
# Publish manually instead of using workflow
|
||||
# - name: Publish API
|
||||
@@ -50,19 +50,19 @@ jobs:
|
||||
- name: Upload Leaf
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: Leaf 1.21
|
||||
path: ./leaf-1.21-*.jar
|
||||
name: Leaf 1.21.1
|
||||
path: ./leaf-1.21.1-*.jar
|
||||
|
||||
- name: Rename Paperclip Jar
|
||||
run: |
|
||||
mv ./leaf-1.21-mojmap.jar ./leaf-1.21.jar
|
||||
mv ./leaf-1.21.1-mojmap.jar ./leaf-1.21.1.jar
|
||||
|
||||
- name: Release Leaf
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: marvinpinto/action-automatic-releases@master
|
||||
with:
|
||||
title: "Leaf 1.21"
|
||||
automatic_release_tag: "ver-1.21"
|
||||
title: "Leaf 1.21.1"
|
||||
automatic_release_tag: "ver-1.21.1"
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
files: "./leaf-1.21.jar"
|
||||
files: "./leaf-1.21.1.jar"
|
||||
prerelease: false
|
||||
Reference in New Issue
Block a user