mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 22:31:04 -05:00
filter enviornment variables when launching the runner
This commit is contained in:
parent
ae7f03683b
commit
acff2f0697
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ function register() {
|
|||
|
||||
function run() {
|
||||
rm -f forgejo-runner.log
|
||||
daemon --chdir=$(pwd) --unsafe --pidfile=$(pwd)/forgejo-runner-pid --errlog=$(pwd)/forgejo-runner.log --output=$(pwd)/forgejo-runner.log forgejo-runner daemon
|
||||
daemon --chdir=$(pwd) --unsafe --env="TERM=$TERM" --env="HOME=$HOME" --env="PATH=$PATH" --env="USER=$USER" --env="TERM=dumb" --env="USERNAME=$USERNAME" --env="LANG=$LANG" --pidfile=$(pwd)/forgejo-runner-pid --errlog=$(pwd)/forgejo-runner.log --output=$(pwd)/forgejo-runner.log forgejo-runner daemon
|
||||
sleep 1
|
||||
cat forgejo-runner.log
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue