diff --git a/.github/actions/build-linux/entrypoint.sh b/.github/actions/build-linux/entrypoint.sh index bf2b8f430..2802e0a5e 100644 --- a/.github/actions/build-linux/entrypoint.sh +++ b/.github/actions/build-linux/entrypoint.sh @@ -3,7 +3,7 @@ # Fail on any errors set -e -if [[ -z "$GITHUB_WORKSPACE" ]]; then +if [ -z "$GITHUB_WORKSPACE" ]; then echo "Set the GITHUB_WORKSPACE env variable." exit 1 fi diff --git a/.github/actions/build-snap/entrypoint.sh b/.github/actions/build-snap/entrypoint.sh index 9470508f6..d24769030 100644 --- a/.github/actions/build-snap/entrypoint.sh +++ b/.github/actions/build-snap/entrypoint.sh @@ -3,7 +3,7 @@ # Fail on any errors set -e -if [[ -z "$GITHUB_WORKSPACE" ]]; then +if [ -z "$GITHUB_WORKSPACE" ]; then echo "Set the GITHUB_WORKSPACE env variable." exit 1 fi