Skip to content

Commit 2f12c23

Browse files
committed
Add --no-config option.
1 parent fdff2d9 commit 2f12c23

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

github-runner

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@ start() {
66
verify "${@}"
77
info
88
download
9-
configure
9+
10+
11+
if [[ -n $RUNNER_CONFIG ]]; then
12+
say Launching runner with run.sh ...
13+
line
14+
configure
15+
else
16+
say Configuring runner with config.sh ... SKIPPED.
17+
fi
1018

1119
line
1220

@@ -18,7 +26,6 @@ start() {
1826
else
1927
say Launching runner with run.sh ... SKIPPED.
2028
say Exiting github-runner.
21-
exit
2229
fi
2330

2431
}

0 commit comments

Comments
 (0)