File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ jobs:
278278 PRIVATE_KEY : ${{ secrets.AWS_PRIVATE_KEY }}
279279 run : |
280280 # echo $VERSION
281- echo $VERSION
281+ echo ${{ github.event.inputs.version }}
282282
283283 # get public IP of the linux machine
284284 ip=$(dig +short myip.opendns.com @resolver1.opendns.com)
@@ -310,12 +310,9 @@ jobs:
310310
311311 # set up the private key
312312 echo "$PRIVATE_KEY" > private_key && chmod 600 private_key
313-
314- # echo $VERSION
315- echo $VERSION
316313
317314 # ssh into the instance and run the script to build the binary
318- ssh -o StrictHostKeyChecking=accept-new -i private_key ubuntu@$public_ip 'bash -s' < script_to_build.sh $VERSION
315+ ssh -o StrictHostKeyChecking=accept-new -i private_key ubuntu@$public_ip 'bash -s' < script_to_build.sh ${{ github.event.inputs.version }}
319316
320317 # use scp to fetch the built binary out of the instance
321318 scp -i private_key ubuntu@$public_ip:/home/ubuntu/steampipe-postgres-fdw/build-Linux/steampipe_postgres_fdw.so .
You can’t perform that action at this time.
0 commit comments