Skip to content

Commit

Permalink
fixup! fixup! fixup! fix: remove default gitconfig at macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Mar 10, 2024
1 parent 7782dd8 commit 06e685d
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,30 +37,30 @@ jobs:
run:
shell: ${{ matrix.shell }}
steps:
- name: Clean up linuxOS
if: runner.os != 'macOS'
run: sudo apt-get install build-essential
# - name: Clean up linuxOS
# if: runner.os != 'macOS'
# run: sudo apt-get install build-essential

- name: Cleanup macOS
if: runner.os == 'macOS'
run: |
sudo rm -rf /Applications/Xcode.app \
/Library/Developer/CommandLineTools
sudo xcode-select --reset
# - name: Cleanup macOS
# if: runner.os == 'macOS'
# run: |
# sudo rm -rf /Applications/Xcode.app \
# /Library/Developer/CommandLineTools
# sudo xcode-select --reset

- name: Install Homebrew
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" &>/dev/null
env:
NONINTERACTIVE: 1
# - name: Install Homebrew
# run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" &>/dev/null
# env:
# NONINTERACTIVE: 1

- name: Set up Homebrew PATH
run: |
if [[ "${{ runner.os }}" = "macOS" ]]
then
echo "/usr/local/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"
else
echo "/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"
fi
# - name: Set up Homebrew PATH
# run: |
# if [[ "${{ runner.os }}" = "macOS" ]]
# then
# echo "/usr/local/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"
# else
# echo "/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"
# fi

- name: Check Homebrew
run: brew --config
Expand Down

0 comments on commit 06e685d

Please sign in to comment.