@@ -62813,7 +62813,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
6281362813 `echo "${config.input.preRunnerScript}" > pre-runner-script.sh`,
6281462814 'source pre-runner-script.sh',
6281562815 'export RUNNER_ALLOW_RUNASROOT=1',
62816- `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
62816+ `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label} --name $(hostname)-$(uuidgen) --ephemeral `,
6281762817 './run.sh',
6281862818 ];
6281962819 } else {
@@ -62823,10 +62823,10 @@ function buildUserDataScript(githubRegistrationToken, label) {
6282362823 `echo "${config.input.preRunnerScript}" > pre-runner-script.sh`,
6282462824 'source pre-runner-script.sh',
6282562825 'case $(uname -m) in aarch64) ARCH="arm64" ;; amd64|x86_64) ARCH="x64" ;; esac && export RUNNER_ARCH=${ARCH}',
62826- 'curl -O -L https://github.com/actions/runner/releases/download/v2.299.1 /actions-runner-linux-${RUNNER_ARCH}-2.299.1 .tar.gz',
62827- 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.299.1 .tar.gz',
62826+ 'curl -O -L https://github.com/actions/runner/releases/download/2.306.0 /actions-runner-linux-${RUNNER_ARCH}-2.306.0 .tar.gz',
62827+ 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.306.0 .tar.gz',
6282862828 'export RUNNER_ALLOW_RUNASROOT=1',
62829- `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
62829+ `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label} --name $(hostname)-$(uuidgen) --ephemeral `,
6283062830 './run.sh',
6283162831 ];
6283262832 }
0 commit comments