Skip to content

Commit

Permalink
remote pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangs committed Mar 1, 2024
1 parent 755cb4f commit 7f51822
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash -l
set -eo pipefail

source /.venv/bin/activate

Expand Down Expand Up @@ -40,7 +39,6 @@ fi
# run and save outputs
echo "running command: $input_command"
log=$($input_command 2>&1)
echo "running command: $input_command done"
if [ $? -eq 0 ]; then
echo "result=passed" >>$GITHUB_OUTPUT
echo "log=$log" >>$GITHUB_OUTPUT
Expand Down

0 comments on commit 7f51822

Please sign in to comment.