From 9a4316f96eeb92a06d5ceaf94387d349c5ea9537 Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Fri, 8 Jul 2022 00:43:22 -0400 Subject: [PATCH] fixup (#12292) * fixup * add automated option to install action, default true * try again * make Install.ps1 accept -a * oof * again * backup --- .github/actions/install/action.yml | 6 +++++- chia/server/start_service.py | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/install/action.yml b/.github/actions/install/action.yml index 0705420125..2bd56b190e 100644 --- a/.github/actions/install/action.yml +++ b/.github/actions/install/action.yml @@ -11,6 +11,10 @@ inputs: description: "Install development dependencies." required: false default: "" + automated: + description: "Automated install, no questions." + required: false + default: "true" command-prefix: description: "Text to place before the command such as `arch -arm64` for non-native macOS runners." required: false @@ -25,7 +29,7 @@ runs: env: INSTALL_PYTHON_VERSION: ${{ inputs.python-version }} run: | - ${{ inputs.command-prefix }} sh install.sh ${{ inputs.development && '-d' || '' }} + ${{ inputs.command-prefix }} sh install.sh ${{ inputs.development && '-d' || '' }} ${{ inputs.automated == 'true' && '-a' || '' }} - name: Run install script (Windows) if: runner.os == 'windows' diff --git a/chia/server/start_service.py b/chia/server/start_service.py index 90d359d1c4..a32a8d3d3b 100644 --- a/chia/server/start_service.py +++ b/chia/server/start_service.py @@ -21,6 +21,7 @@ from chia.server.outbound_message import NodeType from chia.server.server import ChiaServer from chia.server.upnp import UPnP from chia.types.peer_info import PeerInfo +from chia.util.config import load_config from chia.util.chia_logging import initialize_logging from chia.util.setproctitle import setproctitle from chia.util.ints import uint16