9
0
mirror of https://github.com/Kas-tle/java2bedrock.sh.git synced 2025-12-19 14:59:13 +00:00
This commit is contained in:
Kas-tle
2022-10-24 18:20:40 +00:00
committed by GitHub
parent e34e8dd8ba
commit 8528aa6999

View File

@@ -28,7 +28,7 @@ jobs:
run: |
echo ${{ toJSON(steps.parse-issue.outputs.data) }} | jq '
def test_input($input; $default):
if $input == "*No response*" then $default else ($input | gsub("\\\\";"")) end;
if $input == "*No response*" then $default else ($input | tostring | gsub("\\\\";"")) end;
{
"pack_url": .["java-pack-direct-download-url"].text[1:-1],
"default_pack_url": test_input(.["default-pack-direct-download-url"].text; " null ")[1:-1],