mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
fix: unbound variable error in schedule-record-workflow.sh (#3401)
- Initialize INPUTS variable to prevent 'unbound variable' error Fixes: ./scripts/github/schedule-record-workflow.sh: line 246: INPUTS: unbound variable │
This commit is contained in:
parent
a6b1588dc6
commit
e6edc1f934
1 changed files with 2 additions and 1 deletions
|
@ -239,8 +239,9 @@ echo "Test pattern: ${TEST_PATTERN:-"(none)"}"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Prepare inputs for gh workflow run
|
# Prepare inputs for gh workflow run
|
||||||
|
INPUTS=
|
||||||
if [[ -n "$TEST_SUBDIRS" ]]; then
|
if [[ -n "$TEST_SUBDIRS" ]]; then
|
||||||
INPUTS="-f subdirs='$TEST_SUBDIRS'"
|
INPUTS="$INPUTS -f subdirs='$TEST_SUBDIRS'"
|
||||||
fi
|
fi
|
||||||
if [[ -n "$TEST_SETUP" ]]; then
|
if [[ -n "$TEST_SETUP" ]]; then
|
||||||
INPUTS="$INPUTS -f test-setup='$TEST_SETUP'"
|
INPUTS="$INPUTS -f test-setup='$TEST_SETUP'"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue