Skip to content

Commit 4a8de0c

Browse files
authored
build: fix set_variables.sh in workflow_dispatch case (#76)
1 parent 73b562e commit 4a8de0c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/set_variables.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ case "${GITHUB_EVENT_NAME}" in
2020
else
2121
OS_VERSION=${PAYLOAD_OS}
2222
fi;;
23+
workflow_dispatch)
24+
BRANCH=${WORKFLOW_BRANCH}
25+
if [ -f .build_os ]; then
26+
OS_VERSION=`cat .build_os`
27+
else
28+
OS_VERSION=${PAYLOAD_OS}
29+
fi;;
2330
push)
2431
if [ -f .build_os ]; then
2532
OS_VERSION=`cat .build_os`

0 commit comments

Comments
 (0)