Skip to content

Commit 30d6ed0

Browse files
jnboothMichal Šrámeksramekmichalmarkszabo
authored
Update runner version (#1)
* update: added ephemeral * test: changes * feature: added installation of services * fixup: reverse changes * Update src/aws.js Co-authored-by: Mark Szabo <12611720+markszabo@users.noreply.github.com> * updat: revert change * Update src/aws.js Co-authored-by: Mark Szabo <12611720+markszabo@users.noreply.github.com> --------- Co-authored-by: Michal Šrámek <michal.sramek@lmc.eu> Co-authored-by: Michal Šrámek <115155195+sramekmichal@users.noreply.github.com> Co-authored-by: Mark Szabo <12611720+markszabo@users.noreply.github.com>
1 parent 1c365ae commit 30d6ed0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/aws.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function buildUserDataScript(githubRegistrationToken, label) {
1313
`echo "${config.input.preRunnerScript}" > pre-runner-script.sh`,
1414
'source pre-runner-script.sh',
1515
'export RUNNER_ALLOW_RUNASROOT=1',
16-
`./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
16+
`./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label} --ephemeral`,
1717
'./run.sh',
1818
];
1919
} else {
@@ -23,10 +23,10 @@ function buildUserDataScript(githubRegistrationToken, label) {
2323
`echo "${config.input.preRunnerScript}" > pre-runner-script.sh`,
2424
'source pre-runner-script.sh',
2525
'case $(uname -m) in aarch64) ARCH="arm64" ;; amd64|x86_64) ARCH="x64" ;; esac && export RUNNER_ARCH=${ARCH}',
26-
'curl -O -L https://github.com/actions/runner/releases/download/v2.299.1/actions-runner-linux-${RUNNER_ARCH}-2.299.1.tar.gz',
27-
'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.299.1.tar.gz',
26+
'curl -O -L https://github.com/actions/runner/releases/download/2.306.0/actions-runner-linux-${RUNNER_ARCH}-2.306.0.tar.gz',
27+
'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.306.0.tar.gz',
2828
'export RUNNER_ALLOW_RUNASROOT=1',
29-
`./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
29+
`./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label} --ephemeral`,
3030
'./run.sh',
3131
];
3232
}

0 commit comments

Comments
 (0)