Skip to content

Commit

Permalink
fix: cd fail to exit 1
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuyoshicho committed Apr 18, 2022
1 parent 85b340a commit 0693ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

if [ -n "${GITHUB_WORKSPACE}" ] ; then
cd "${GITHUB_WORKSPACE}" || exit
cd "${GITHUB_WORKSPACE}" || exit 1
git config --global --add safe.directory "${GITHUB_WORKSPACE}" || exit 1
fi

Expand Down

0 comments on commit 0693ba7

Please sign in to comment.