Add support for debug builds

This commit is contained in:
Shivam Mathur
2022-09-26 09:42:27 +05:30
parent 7aff4d7a22
commit 7ff9ac44b4
7 changed files with 512 additions and 5 deletions

View File

@ -50,6 +50,7 @@ set_output() {
# Function to read env inputs.
read_env() {
update="${update:-${UPDATE:-false}}"
[ "${debug:-${DEBUG:-false}}" = "true" ] && debug=debug && update=true || debug=release
fail_fast="${fail_fast:-${FAIL_FAST:-false}}"
[[ -z "${ImageOS}" && -z "${ImageVersion}" ]] && _runner=self-hosted || _runner=github
runner="${runner:-${RUNNER:-$_runner}}"