sh.zio.github-runner-wrapper: add RUNNER_ALLOW_RUNASROOT
parent
4ab877ad64
commit
4f2e807fc5
|
@ -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…
Reference in New Issue