Skip to content

Commit

Permalink
fix url encoding
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Singh <[email protected]>
  • Loading branch information
theBeginner86 committed Jan 5, 2024
1 parent 4cc4a2a commit e89d8cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e89d8cb

Please sign in to comment.