sh.zio.github-runner-wrapper: add RUNNER_ALLOW_RUNASROOT
This commit is contained in:
parent
4ab877ad64
commit
4f2e807fc5
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ function main() {
|
||||||
rm "actions-runner-linux-$_ex_version.tar.gz"
|
rm "actions-runner-linux-$_ex_version.tar.gz"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export RUNNER_ALLOW_RUNASROOT="1"
|
||||||
|
|
||||||
if [[ ! -f ".credentials" ]]; then
|
if [[ ! -f ".credentials" ]]; then
|
||||||
./config.sh --url "$url" --token "$token" --unattended
|
./config.sh --url "$url" --token "$token" --unattended
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue