Skip to content

Commit

Permalink
<<- does not seem to work in bash actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ghfbsd committed Mar 22, 2024
1 parent 3d3b870 commit d094dd5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ jobs:
shell: bash
run: |
if [ -f /usr/local/bin/sac ] ; then
/usr/local/bin/sac <<- EOF > prog.out
message "build successful"
quit
EOF
( echo 'message "build successful"' ; echo 'quit' ) |
/usr/local/bin/sac > prog.out
echo 'Build success:' | cat - prog.out >> $GITHUB_STEP_SUMMARY
else
echo 'Build fail' >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit d094dd5

Please sign in to comment.