Skip to content

Commit d1813bf

Browse files
update index
1 parent c9055a8 commit d1813bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dist/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62811,7 +62811,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
6281162811
'#!/bin/bash',
6281262812
`cd "${config.input.runnerHomeDir}"`,
6281362813
'export RUNNER_ALLOW_RUNASROOT=1',
62814-
`./config.sh --url ${config.github.url} --token ${githubRegistrationToken} --labels ${label}`,
62814+
`./config.sh --url ${config.github.url} --token ${githubRegistrationToken} --labels ${label} --name ${label}`,
6281562815
'./run.sh',
6281662816
];
6281762817
} else {
@@ -62822,7 +62822,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
6282262822
'curl -O -L https://github.com/actions/runner/releases/download/v2.299.1/actions-runner-linux-${RUNNER_ARCH}-2.299.1.tar.gz',
6282362823
'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.299.1.tar.gz',
6282462824
'export RUNNER_ALLOW_RUNASROOT=1',
62825-
`./config.sh --url ${config.github.url} --token ${githubRegistrationToken} --labels ${label}`,
62825+
`./config.sh --url ${config.github.url} --token ${githubRegistrationToken} --labels ${label} --name ${label}`,
6282662826
'./run.sh',
6282762827
];
6282862828
}
@@ -62833,6 +62833,7 @@ async function startEc2Instance(label, githubRegistrationToken) {
6283362833

6283462834
const userData = buildUserDataScript(githubRegistrationToken, label);
6283562835

62836+
core.info(userData)
6283662837
const params = {
6283762838
ImageId: config.input.ec2ImageId,
6283862839
InstanceType: config.input.ec2InstanceType,

0 commit comments

Comments
 (0)