Skip to content

Commit 1b5fd5f

Browse files
fix: undo change in install-runner-osx.sh
1 parent a51a289 commit 1b5fd5f

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

modules/runners/templates/install-runner-osx.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ set -euo pipefail
44

55
## install the runner (macOS)
66

7-
s3_location=${S3_LOCATION_RUNNER_DISTRIBUTION:-}
8-
architecture=${RUNNER_ARCHITECTURE:-}
9-
runner_tarball_url=${RUNNER_TARBALL_URL:-}
10-
user_name=${user_name:-ec2-user}
7+
s3_location=${S3_LOCATION_RUNNER_DISTRIBUTION}
8+
architecture=${RUNNER_ARCHITECTURE}
119

12-
if [ -z "$runner_tarball_url" ] && [ -z "$s3_location" ]; then
10+
if [ -z "$RUNNER_TARBALL_URL" ] && [ -z "$s3_location" ]; then
1311
echo "Neither RUNNER_TARBALL_URL or s3_location are set"
1412
exit 1
1513
fi

0 commit comments

Comments
 (0)