Skip to content

Commit

Permalink
Execute inline build script if it was defined in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tjurtsch committed Dec 29, 2020
1 parent 59500d8 commit 794231a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ runs:
source .github/scripts/common.sh
bash .github/scripts/download_sdk.sh
bash .github/scripts/install.sh
bash .github/scripts/script.sh
if [ $SCRIPT ]; then
$SCRIPT
else
bash .github/scripts/script.sh
fi
if [ $? -eq 0 ]; then
source .github/scripts/after_success.sh
else
Expand Down

0 comments on commit 794231a

Please sign in to comment.