File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/runners/templates Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 31
31
token=$( curl -f -X PUT " http://169.254.169.254/latest/api/token" -H " X-aws-ec2-metadata-token-ttl-seconds: 180" )
32
32
33
33
region=$( curl -f -H " X-aws-ec2-metadata-token: $token " -v http://169.254.169.254/latest/dynamic/instance-identity/document | jq -r .region)
34
- echo " Reteieved REGION from AWS API ($region )"
34
+ echo " Retrieved REGION from AWS API ($region )"
35
35
36
36
echo " Downloading the GH Action runner from s3 bucket $s3_location "
37
37
aws s3 cp " $s3_location " " $file_name " --region " $region "
54
54
55
55
echo " Set file ownership of action runner"
56
56
chown -R " $user_name " :" $user_name " .
57
- chown -R " $user_name " :" $user_name " /opt/hostedtoolcache
57
+ chown -R " $user_name " :" $user_name " /opt/hostedtoolcache
You can’t perform that action at this time.
0 commit comments