mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-26 18:39:23 +00:00
API patches done
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
name: Build Leaf 1.21.1
|
||||
name: Build Leaf 1.21.3
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "ver/1.21.1" ]
|
||||
branches: [ "dev/1.21.3" ]
|
||||
pull_request:
|
||||
branches: [ "ver/1.21.1" ]
|
||||
branches: [ "ver/1.21.3" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -33,8 +33,8 @@ jobs:
|
||||
|
||||
- name: Rename Paperclip Jar
|
||||
run: |
|
||||
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
|
||||
mv build/libs/leaf-paperclip-1.21.3-R0.1-SNAPSHOT-mojmap.jar ./leaf-1.21.3-mojmap.jar
|
||||
mv build/libs/leaf-paperclip-1.21.3-R0.1-SNAPSHOT-reobf.jar ./leaf-1.21.3-reobf.jar
|
||||
|
||||
- name: Publish API
|
||||
if: github.event_name != 'pull_request'
|
||||
@@ -50,12 +50,12 @@ jobs:
|
||||
- name: Upload Leaf
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: Leaf 1.21.1
|
||||
path: ./leaf-1.21.1-*.jar
|
||||
name: Leaf 1.21.3
|
||||
path: ./leaf-1.21.3-*.jar
|
||||
|
||||
- name: Rename Paperclip Jar
|
||||
run: |
|
||||
mv ./leaf-1.21.1-mojmap.jar ./leaf-1.21.1.jar
|
||||
mv ./leaf-1.21.3-mojmap.jar ./leaf-1.21.3.jar
|
||||
|
||||
# TODO: marvinpinto/action-automatic-releases is archived, need to find new one
|
||||
# Notes: create releases every time, similar changelogs with this, all commits for changelogs
|
||||
@@ -63,8 +63,8 @@ jobs:
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: marvinpinto/action-automatic-releases@master
|
||||
with:
|
||||
title: "Leaf 1.21.1"
|
||||
automatic_release_tag: "ver-1.21.1"
|
||||
title: "Leaf 1.21.3"
|
||||
automatic_release_tag: "ver-1.21.3"
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
files: "./leaf-1.21.1.jar"
|
||||
files: "./leaf-1.21.3.jar"
|
||||
prerelease: false
|
||||
Reference in New Issue
Block a user