mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
GHA: Add more verbose logging
This commit is contained in:
parent
35c7afc6a1
commit
f79b88d826
3 changed files with 3 additions and 3 deletions
|
|
@ -28,7 +28,7 @@ runs:
|
|||
input_keys = """${{ inputs.keys }}"""
|
||||
logger.debug(f'Input keys: {input_keys}')
|
||||
artifact_keys = filter(None, [x.strip() for x in input_keys.split('\n')])
|
||||
logger.debug(f'Parsed keys: {artifact_keys}')
|
||||
logger.info(f'Downloading keys: {artifact_keys}')
|
||||
|
||||
api_prefix = 'actions'
|
||||
artifacts_info = json_github_api_request(f'{api_prefix}/runs/{environ["GITHUB_RUN_ID"]}/artifacts')
|
||||
|
|
|
|||
2
.github/actions/upload_artifact/action.yaml
vendored
2
.github/actions/upload_artifact/action.yaml
vendored
|
|
@ -29,7 +29,7 @@ runs:
|
|||
input_paths = """${{ inputs.paths }}"""
|
||||
logger.debug(f'Input paths: {input_paths}')
|
||||
paths = filter(None, [x.strip() for x in input_paths.split('\n')])
|
||||
logger.debug(f'Parsed paths: {paths}')
|
||||
logger.info(f'Uploading paths: {paths}')
|
||||
mkdir('tmp_artifact_upload')
|
||||
archive_path = 'tmp_artifact_upload/${{ inputs.key }}.tar'
|
||||
logger.debug(f'Creating archive: {archive_path}')
|
||||
|
|
|
|||
2
.github/workflows/configure_logger.py
vendored
2
.github/workflows/configure_logger.py
vendored
|
|
@ -6,7 +6,7 @@ def configure_logger(logger):
|
|||
handler = logging.StreamHandler(stdout)
|
||||
formatter = logging.Formatter('[%(name)s] %(message)s')
|
||||
handler.setFormatter(formatter)
|
||||
level = logging.DEBUG if (getenv('RUNNER_DEBUG', '0').lower() not in ('0', 'f', 'false')) else logging.WARNING
|
||||
level = logging.DEBUG if (getenv('RUNNER_DEBUG', '0').lower() not in ('0', 'f', 'false')) else logging.INFO
|
||||
logger.setLevel(level)
|
||||
handler.setLevel(level)
|
||||
logger.addHandler(handler)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue