Skip to content

Commit 5e76426

Browse files
committed
Fix github action
1 parent f5e74ff commit 5e76426

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/get_test_cloud.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ function test_cloud
44
{
55
CLOUD_DETAILS=$(curl -X POST \-H 'Content-type:application/json' \https://sub-account-testing.cloudinary.com/create_sub_account \--data '{"prefix" : "android-test-cloud"}')
66

7-
APIKEY=$(echo "${CLOUD_DETAILS}" | python -c 'import json,sys;c=json.load(sys.stdin)["payload"];print("%s" % (c["cloudApiKey"]))')
8-
APISECRET=$(echo "${CLOUD_DETAILS}" | python -c 'import json,sys;c=json.load(sys.stdin)["payload"];print("%s" % (c["cloudApiSecret"]))')
9-
CLOUD_NAME=$(echo "${CLOUD_DETAILS}" | python -c 'import json,sys;c=json.load(sys.stdin)["payload"];print("%s" % (c["cloudName"]))')
10-
CLOUDINARY_URL=$(echo ${CLOUD_DETAILS} | python -c 'import json,sys;c=json.load(sys.stdin)["payload"];print("cloudinary://%s:%s@%s" % (c["cloudApiKey"], c["cloudApiSecret"], c["cloudName"]))')
7+
APIKEY=$(echo "${CLOUD_DETAILS}" | python3 -c 'import json,sys;c=json.load(sys.stdin)["payload"];print("%s" % (c["cloudApiKey"]))')
8+
APISECRET=$(echo "${CLOUD_DETAILS}" | python3 -c 'import json,sys;c=json.load(sys.stdin)["payload"];print("%s" % (c["cloudApiSecret"]))')
9+
CLOUD_NAME=$(echo "${CLOUD_DETAILS}" | python3 -c 'import json,sys;c=json.load(sys.stdin)["payload"];print("%s" % (c["cloudName"]))')
10+
CLOUDINARY_URL=$(echo ${CLOUD_DETAILS} | python3 -c 'import json,sys;c=json.load(sys.stdin)["payload"];print("cloudinary://%s:%s@%s" % (c["cloudApiKey"], c["cloudApiSecret"], c["cloudName"]))')
1111
curl \
1212
-d "name=cloudinary_java_test&unsigned=true" \
1313
-X POST \

0 commit comments

Comments
 (0)