File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -62818,11 +62818,13 @@ function buildUserDataScript(githubRegistrationToken, label) {
62818
62818
return [
62819
62819
'#!/bin/bash',
62820
62820
'mkdir actions-runner && cd actions-runner',
62821
- 'case $(uname -m) in aarch64) ARCH="arm64" ;; amd64|x86_64) ARCH="x64" ;; esac && export RUNNER_ARCH=${ARCH}',
62821
+ 'case $(uname -m) in aarch64|arm64 ) ARCH="arm64" ;; amd64|x86_64) ARCH="x64" ;; esac && export RUNNER_ARCH=${ARCH}',
62822
62822
'case $(uname -a) in Darwin*) OS="osx" ;; Linux*) OS="linux" ;; esac && export RUNNER_OS=${OS}',
62823
62823
'export VERSION="2.303.0"',
62824
- 'curl -O -L https://github.com/actions/runner/releases/download/${VERSION}/actions-runner-${RUNNER_OS}-${RUNNER_ARCH}-${VERSION}.tar.gz',
62825
- 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-${VERSION}.tar.gz',
62824
+ 'curl -O -L https://github.com/actions/runner/releases/download/v${VERSION}/actions-runner-${RUNNER_OS}-${RUNNER_ARCH}-${VERSION}.tar.gz',
62825
+ 'export LC_ALL=en_US.UTF-8',
62826
+ 'export LANG=en_EN.UTF-8',
62827
+ 'tar xzf ./actions-runner-${RUNNER_OS}-${RUNNER_ARCH}-${VERSION}.tar.gz',
62826
62828
'export RUNNER_ALLOW_RUNASROOT=1',
62827
62829
`./config.sh --url ${config.github.url} --token ${githubRegistrationToken} --labels ${label} --name ${label} --runnergroup default --work $(pwd)`,
62828
62830
'./run.sh',
Original file line number Diff line number Diff line change @@ -18,11 +18,13 @@ function buildUserDataScript(githubRegistrationToken, label) {
18
18
return [
19
19
'#!/bin/bash' ,
20
20
'mkdir actions-runner && cd actions-runner' ,
21
- 'case $(uname -m) in aarch64) ARCH="arm64" ;; amd64|x86_64) ARCH="x64" ;; esac && export RUNNER_ARCH=${ARCH}' ,
21
+ 'case $(uname -m) in aarch64|arm64 ) ARCH="arm64" ;; amd64|x86_64) ARCH="x64" ;; esac && export RUNNER_ARCH=${ARCH}' ,
22
22
'case $(uname -a) in Darwin*) OS="osx" ;; Linux*) OS="linux" ;; esac && export RUNNER_OS=${OS}' ,
23
23
'export VERSION="2.303.0"' ,
24
- 'curl -O -L https://github.com/actions/runner/releases/download/${VERSION}/actions-runner-${RUNNER_OS}-${RUNNER_ARCH}-${VERSION}.tar.gz' ,
25
- 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-${VERSION}.tar.gz' ,
24
+ 'curl -O -L https://github.com/actions/runner/releases/download/v${VERSION}/actions-runner-${RUNNER_OS}-${RUNNER_ARCH}-${VERSION}.tar.gz' ,
25
+ 'export LC_ALL=en_US.UTF-8' ,
26
+ 'export LANG=en_EN.UTF-8' ,
27
+ 'tar xzf ./actions-runner-${RUNNER_OS}-${RUNNER_ARCH}-${VERSION}.tar.gz' ,
26
28
'export RUNNER_ALLOW_RUNASROOT=1' ,
27
29
`./config.sh --url ${ config . github . url } --token ${ githubRegistrationToken } --labels ${ label } --name ${ label } --runnergroup default --work $(pwd)` ,
28
30
'./run.sh' ,
You can’t perform that action at this time.
0 commit comments