mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-25 09:59:15 +00:00
Update workflow
This commit is contained in:
2
.github/workflows/auto-update.yml
vendored
2
.github/workflows/auto-update.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
||||
git config --global user.email 61569423+Dreeam-qwq@users.noreply.github.com
|
||||
chmod +x gradlew
|
||||
|
||||
- uses: actions/setup-java@v4
|
||||
- uses: actions/setup-java@main
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 21
|
||||
|
||||
9
.github/workflows/build-1211.yml
vendored
9
.github/workflows/build-1211.yml
vendored
@@ -57,13 +57,12 @@ jobs:
|
||||
run: |
|
||||
mv ./leaf-1.21.1-mojmap.jar ./leaf-1.21.1.jar
|
||||
|
||||
# TODO: marvinpinto/action-automatic-releases is archived, need to find new one
|
||||
- name: Release Leaf
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: marvinpinto/action-automatic-releases@master
|
||||
uses: softprops/action-gh-release@master
|
||||
with:
|
||||
title: "Leaf 1.21.1"
|
||||
automatic_release_tag: "ver-1.21.1"
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
name: "Leaf 1.21.1"
|
||||
tag_name: "ver-1.21.1"
|
||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
files: "./leaf-1.21.1.jar"
|
||||
prerelease: false
|
||||
|
||||
Reference in New Issue
Block a user