Skip to content

Commit c3c92fe

Browse files
committed
removed debug echo
1 parent 678feb3 commit c3c92fe

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,9 @@ runs:
6363
run: |
6464
if [[ "${{ inputs.project-string }}" =~ ^sqlitecloud:// ]]; then
6565
[[ "${{ inputs.database }}" ]] || { echo "database input is empty" ; exit 1; }
66-
echo -e -n "{ \"sql\": \"" > up.json
66+
echo "{ \"sql\": \"" > up.json
6767
cat search.sql >> up.json
68-
echo -e "\", \"database\": \"${{ inputs.database }}\"}" >> up.json
69-
cat up.json
68+
echo "\", \"database\": \"${{ inputs.database }}\"}" >> up.json
7069
URL="https:"$(echo ${{ inputs.project-string }} | awk -F ':' '{print $2}')":8090/v2/weblite/sql"
7170
RES=$(curl --compressed $URL -H 'Content-Type: application/json' -H 'Authorization: Bearer ${{ inputs.project-string }}' -H 'accept: application/json' -d @up.json)
7271
echo $RES

0 commit comments

Comments
 (0)