From bda25ccf14bf249e18c2163fef775e3cc8fd4f19 Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Tue, 22 Oct 2024 22:56:28 -0400 Subject: [PATCH] Update workflow --- .github/workflows/auto-update.yml | 2 +- .github/workflows/build-1211.yml | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 5a6bf50a..ce8e80ee 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -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 diff --git a/.github/workflows/build-1211.yml b/.github/workflows/build-1211.yml index 4deb47e0..2f2582c0 100644 --- a/.github/workflows/build-1211.yml +++ b/.github/workflows/build-1211.yml @@ -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