Fix build-jar workflow
All checks were successful
Build TurnBasedMC and create Release / build-and-store-artifact (push) Successful in 24s
All checks were successful
Build TurnBasedMC and create Release / build-and-store-artifact (push) Successful in 24s
This commit is contained in:
parent
3a6d800745
commit
be19ce8748
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue