Skip to content

Commit 546c395

Browse files
inform other parameters
1 parent d1813bf commit 546c395

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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} --name ${label}`,
62825+
`./config.sh --url ${config.github.url} --token ${githubRegistrationToken} --labels ${label} --name ${label} --runnergroup default --work $(pwd)`,
6282662826
'./run.sh',
6282762827
];
6282862828
}

src/aws.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
2222
'curl -O -L https://github.com/actions/runner/releases/download/v2.299.1/actions-runner-linux-${RUNNER_ARCH}-2.299.1.tar.gz',
2323
'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.299.1.tar.gz',
2424
'export RUNNER_ALLOW_RUNASROOT=1',
25-
`./config.sh --url ${config.github.url} --token ${githubRegistrationToken} --labels ${label} --name ${label}`,
25+
`./config.sh --url ${config.github.url} --token ${githubRegistrationToken} --labels ${label} --name ${label} --runnergroup default --work $(pwd)`,
2626
'./run.sh',
2727
];
2828
}

0 commit comments

Comments
 (0)