Skip to content

Commit

Permalink
macos runner fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martimlobao committed Nov 8, 2024
1 parent 0f8f327 commit f6be3a9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions apps.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ shfmt = "formula" # Autoformat shell script source code
trunk-io = "cask" # Developer experience toolkit used to check, test, merge, and monitor code
visual-studio-code = "cask" # Open-source code editor
warp = "cask" # Rust-based terminal
yamllint = "formula" # Linter for YAML files

[work]
aws-sso-cli = "formula" # Securely manage AWS API credentials using AWS SSO
Expand Down
22 changes: 14 additions & 8 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,20 @@ sleep 1

# Linux is not supported after this point
if [[ ${os} == "Linux" ]]; then
echo "Warning: Linux is not supported after this point."
echo -e "\033[1;33m ⛔️ Warning: Linux is not supported after this point.\033[0m"
exit 0
fi

###############################################################################
# macOS preferences #
###############################################################################
# sleep 1
# echo -e "\033[1;33m🚀 Running macos.sh...\033[0m"
# sudo ./macos.sh

# check if in GITHUB_ACTIONS is true and exit if it is
if [[ ${GITHUB_ACTIONS} == "true" ]]; then
echo -e "\033[1;33m ⛔️ Warning: macOS is not supported in CI after this point.\033[0m"
exit 0
fi

Expand All @@ -54,13 +67,6 @@ echo -e "\033[1;33m🚀 Running local.sh...\033[0m"
sleep 1
./local.sh "${1-}"

###############################################################################
# macOS preferences #
###############################################################################
# sleep 1
# echo -e "\033[1;33m🚀 Running macos.sh...\033[0m"
# sudo ./macos.sh

###############################################################################
# Install apps and software #
###############################################################################
Expand Down

0 comments on commit f6be3a9

Please sign in to comment.