From be19ce87485226ab91be43ccd5ad5386ae00d09f Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 8 Jan 2024 15:06:47 +0900 Subject: [PATCH] Fix build-jar workflow --- .forgejo/workflows/build-jar.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build-jar.yaml b/.forgejo/workflows/build-jar.yaml index ec0a408..d44d2c2 100644 --- a/.forgejo/workflows/build-jar.yaml +++ b/.forgejo/workflows/build-jar.yaml @@ -26,7 +26,7 @@ jobs: (Using OpenJDK Java.) $(javac --version) - $(find TurnBasedMinecraftMod/build/libs -regex '.*[0-9].jar$' -exec sha256sum '{}' ';')\", + $(find TurnBasedMinecraftMod/build/libs -regex '.*all.jar$' -exec sha256sum '{}' ';')\", \"tag_name\": \"${GITHUB_REF_NAME}\" }" > response.json \ && curl --fail-with-body -X 'POST' \ @@ -34,4 +34,4 @@ jobs: -H 'accept: application/json' \ -H "Authorization: token ${GITHUB_TOKEN}" \ -H 'Content-Type: multipart/form-data' \ - -F "attachment=@$(find TurnBasedMinecraftMod/build/libs -regex '.*[0-9].jar$');type=application/java-archive" > response2.json + -F "attachment=@$(find TurnBasedMinecraftMod/build/libs -regex '.*all.jar$');type=application/java-archive" > response2.json