From 73c05afd223508a92510751e3667a1c65e86d1d9 Mon Sep 17 00:00:00 2001 From: Liyan Zhao Date: Tue, 16 Jul 2024 00:20:53 +0800 Subject: [PATCH] ci [publish beta] Signed-off-by: Liyan Zhao --- .github/workflows/build-and-publish-pre-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish-pre-release.yml b/.github/workflows/build-and-publish-pre-release.yml index 0c66d65d..9b526b81 100644 --- a/.github/workflows/build-and-publish-pre-release.yml +++ b/.github/workflows/build-and-publish-pre-release.yml @@ -89,7 +89,7 @@ jobs: tag: "beta/${{ steps.get_mod_version.outputs.mod_version }}" - name: Publish to Modrinth & CurseForge - if: ${{ env.PUBLISH_BETA == 'true' && matrix.java == 17 }} # Only publish the version built with Java LTS + if: ${{ env.PUBLISH_BETA == 'true' && matrix.java == 21 }} # Only publish the version built with Java LTS uses: Kir-Antipov/mc-publish@v3.3 with: # Publish to Modrinth