Created
February 19, 2025 18:14
-
-
Save lynsei/f839d1f6521d5f00ee2bb085da5dd75c to your computer and use it in GitHub Desktop.
[fish] #runner start #gh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function .env.gh.runners -d 'Turn on Github Runner Daemons' -a do | |
if test -n "$do" | |
switch $do | |
case "-init" | |
$HOME/Documents/runner/mck/actions-runner/run.sh & | |
$HOME/Documents/runner/lyns/actions-runner/run.sh & | |
$HOME/Documents/runner/lyns/softdist/actions-runner/run.sh & | |
case "-exit" | |
pkill -f 'run.sh' | |
case "" | |
echo "You must provide a flag: -init or -exit | |
case "*" | |
echo "Flag not understood: try -init or -exit" | |
end | |
else | |
echo "No Flag specified: Try -init or -exit" | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment