nixos/github-runner: fix build failure (#339452)

This commit is contained in:
Aleksana 2024-09-04 22:15:57 +08:00 committed by GitHub
commit 43aabb266d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,9 +151,10 @@ with lib;
# Always clean workDir
find -H "$WORK_DIRECTORY" -mindepth 1 -delete
'';
configureRunner = writeScript "configure" ''
configureRunner = writeScript "configure" /*bash*/''
if [[ -e "${newConfigTokenPath}" ]]; then
echo "Configuring GitHub Actions Runner"
# shellcheck disable=SC2054 # don't complain about commas in --labels
args=(
--unattended
--disableupdate