Skip to content

Commit

Permalink
Windows Nightly CI
Browse files Browse the repository at this point in the history
Signed-off-by: Shveta Sachdeva <[email protected]>
  • Loading branch information
sshveta committed Jan 21, 2025
1 parent 6b06c53 commit d0a5cab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/provision-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,11 @@ jobs:

- name: Debug instance ID
run: |
echo "Instance ID: ${{ steps.ec2.outputs.ec2-instance-id }}"
EC2_INSTANCE_ID=$(echo ${{ steps.ec2.outputs.ec2-instance-id }} | jq -r '.[0]')
EC2_INSTANCE_ID="${{ steps.ec2.outputs.ec2-instance-id }}"
# Remove the surrounding brackets and parse the string as a JSON array
EC2_INSTANCE_ID=$(echo $EC2_INSTANCE_ID | sed 's/^\[\(.*\)\]$/\1/') echo $EC2_INSTANCE_ID
echo $EC2_INSTANCE_ID
- name: Get EC2 Host (Public IP/DNS)
id: get-ec2-host
run: |
Expand Down

0 comments on commit d0a5cab

Please sign in to comment.