9
0
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:
Dreeam
2024-10-22 22:56:28 -04:00
parent cdb90c11d6
commit bda25ccf14
2 changed files with 5 additions and 6 deletions

View File

@@ -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

View File

@@ -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