Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanSerafini committed Sep 17, 2024
1 parent ac76473 commit 529f76c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ inputs:
description: "Optional relative path to scan"
default: ""
scan_timeout:
description: "Maximum amount of time a diff scan should complete in"
description: "Maximum amount of time a diff scan should complete in (deprecated)"
default: ""
scan_diff_timeout:
description: "Maximum amount of time a diff scan should complete in"
Expand All @@ -65,7 +65,8 @@ runs:
BOOST_GIT_MAIN_BRANCH: ${{ inputs.main_branch }}
BOOST_IGNORE_FAILURE: ${{ inputs.ignore_failure }}
BOOST_LOG_LEVEL: ${{ inputs.log_level }}
BOOST_DIFF_SCAN_TIMEOUT: ${{ (inputs.scan_diff_timeout == "") && inputs.scan_timeout || inputs.scan_diff_timeout }}
BOOST_SCAN_TIMEOUT: ${{ scan_timeout }}
BOOST_DIFF_SCAN_TIMEOUT: ${{ inputs.scan_diff_timeout }}
BOOST_MAIN_SCAN_TIMEOUT: ${{ inputs.scan_main_timeout }}
BOOST_PRE_SCAN: ${{ inputs.pre_scan_cmd }}
BOOST_SCAN_LABEL: ${{ inputs.scan_label }}
Expand Down
2 changes: 2 additions & 0 deletions lib/scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ init.config ()
{
log.info "initializing configuration"

export BOOST_DIFF_SCAN_TIMEOUT=${BOOST_DIFF_SCAN_TIMEOUT:-${BOOST_SCAN_TIMEOUT:-}}

export BOOST_TMP_DIR=${BOOST_TMP_DIR:-${WORKSPACE_TMP:-${TMPDIR:-/tmp}}}
export BOOST_EXE=${BOOST_EXE:-${BOOST_TMP_DIR}/boost-cli/latest}

Expand Down

0 comments on commit 529f76c

Please sign in to comment.