From d426809a08e34c063e380d623b6810b7e0eb9dec Mon Sep 17 00:00:00 2001 From: Shveta Sachdeva Date: Tue, 21 Jan 2025 14:32:18 -0800 Subject: [PATCH] Windows Nightly CI Signed-off-by: Shveta Sachdeva --- .github/workflows/provision-runner.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/provision-runner.yml b/.github/workflows/provision-runner.yml index f17844f0..86c5fc4c 100644 --- a/.github/workflows/provision-runner.yml +++ b/.github/workflows/provision-runner.yml @@ -85,7 +85,8 @@ jobs: - name: Get EC2 Host (Public IP/DNS) id: get-ec2-host run: | - EC2_HOST=$(aws ec2 describe-instances --instance-ids ${{ steps.ec2.outputs.ec2-instance-id }} --query "Reservations[0].Instances[0].PublicIpAddress" --output text) + EC2_INSTANCE_ID="${{ steps.ec2.outputs.ec2-instance-id }}" + EC2_HOST=$(aws ec2 describe-instances --instance-ids $EC2_INSTANCE_ID --query "Reservations[0].Instances[0].PublicIpAddress" --output text) echo "EC2 Host: $EC2_HOST" echo "ec2-host=$EC2_HOST" >> $GITHUB_ENV