From e89d8cbcfd356e7f3440915ea8f4df2effd11dd1 Mon Sep 17 00:00:00 2001 From: Pranav Singh <pranavsingh02@hotmail.com> Date: Fri, 5 Jan 2024 11:13:23 +0530 Subject: [PATCH] fix url encoding Signed-off-by: Pranav Singh <pranavsingh02@hotmail.com> --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 728ddd9..b64773a 100644 --- a/action.yml +++ b/action.yml @@ -76,14 +76,14 @@ runs: - run: | echo "Uploading using application file" AppId=$(MESHERY_SERVER_BASE_URL="https://playground.meshery.io" UPLOAD_TYPE="${{inputs.application_type}}" PROVIDER_TOKEN=${{ inputs.providerToken }} ./action/uploadApplicationFile.sh) - echo $AppId + AppId=$(echo "$AppId" | sed 's/"//g') echo "APPLICATION_ID=$AppId" >> $GITHUB_ENV if: ${{ inputs.filePath && !inputs.designID }} shell: bash - run: | echo "Uploading using application url" AppId=$(MESHERY_SERVER_BASE_URL="https://playground.meshery.io" UPLOAD_TYPE="${{inputs.application_type}}" PROVIDER_TOKEN=${{ inputs.providerToken }} UPLOAD_URL=${{ inputs.application_url }} ./action/uploadApplicationUrl.sh) - echo $AppId + AppId=$(echo "$AppId" | sed 's/"//g') echo "APPLICATION_ID=$AppId" >> $GITHUB_ENV if: ${{ inputs.application_url && !inputs.designID }} shell: bash