Skip to content

Commit 90e8d82

Browse files
committed
Remove removal.
1 parent ece1979 commit 90e8d82

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

github-runner-installer

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -278,22 +278,7 @@ download() {
278278
configure() {
279279
line
280280
say Configuring GitHub runner...
281-
say Removing existing runner...
282-
283-
# Remove
284-
# @TODO: If runner has a job, wait for it to complete.
285281
cd $RUNNER_FOLDER
286-
287-
# @TODO: determine if config remove is needed. Seems like --replace should work?
288-
# echo ./config.sh remove --token ${RUNNER_CONFIG_TOKEN}
289-
# config.sh remove can fail because:
290-
# 1. the service is still installed.
291-
# 2. TBD.
292-
# ./config.sh remove --token ${RUNNER_CONFIG_TOKEN} || say "config remove didn't work."
293-
294-
rm -rf .credentials .runner
295-
line
296-
say Configuring new runner...
297282

298283
# Configure
299284
CMD="./config.sh \

0 commit comments

Comments
 (0)