Skip to content

Commit

Permalink
Fixed Action Failure
Browse files Browse the repository at this point in the history
  • Loading branch information
gvatsal60 committed Oct 27, 2024
1 parent 09ea57e commit 85e64da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
zsh install.sh || { echo "The script exited with an error."; exit 1; }
echo "The script executed successfully."
ZSHRC_PATH="${HOME}/.zshrc"
source ${ZSHRC_PATH}
UPDATE_ALIAS_SEARCH_STR="curl -fsSL https://raw.githubusercontent.com/andmpel/MacOS-All-In-One-Update-Script/HEAD/update-all.sh | ${SHELL}"
cat ${ZSHRC_PATH}
UPDATE_ALIAS_SEARCH_STR="curl -fsSL https://raw.githubusercontent.com/andmpel/MacOS-All-In-One-Update-Script/HEAD/update-all.sh | zsh"
if ! grep -qxF "${UPDATE_ALIAS_SEARCH_STR}" "${ZSHRC_PATH}"; then
echo "Error: Test Failed!!!"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set -e

readonly FILE_NAME="update-all.sh"
readonly UPDATE_SCRIPT_SOURCE_URL="https://raw.githubusercontent.com/andmpel/MacOS-All-In-One-Update-Script/HEAD/${FILE_NAME}"
readonly UPDATE_ALIAS_SEARCH_STR="curl -fsSL ${UPDATE_SCRIPT_SOURCE_URL} | ${SHELL}"
readonly UPDATE_ALIAS_SEARCH_STR="curl -fsSL ${UPDATE_SCRIPT_SOURCE_URL} | zsh"

UPDATE_ALIAS_SOURCE_STR=$(
cat <<EOF
Expand Down

0 comments on commit 85e64da

Please sign in to comment.