mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-12-26 06:42:17 -05:00
Merge pull request 'filter enviornment variables when launching the runner' (#16) from earl-warren/setup-forgejo:wip-environ into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/16 Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
This commit is contained in:
commit
ee99134ef9
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