Skip to content

Commit f957d05

Browse files
authored
saner
1 parent 7e75260 commit f957d05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Github/Runners/manage_linux.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ remove_runner() {
182182
fi
183183
#Remove Self
184184
"/runner-init/config.sh" remove --unattended --token "${RUNNER_TOKEN}"
185+
#Write Status
186+
[[ -d "/tmp" && -w "/tmp" ]] && echo "EXITED" | tee "/tmp/GHA_CI_STATUS"
185187
#Cleanup
186188
unset API_RESPONSE AUTH_URL OFFLINE_RUNNERS_ID REG_URL RUNNERS_ID R_ID RUNNER_ID RUNNER_LABELS RUNNER_TOKEN
187189
kill -9 $$

0 commit comments

Comments
 (0)