Skip to content

Commit

Permalink
Add to hosts files on macOS runners
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcalvin committed Feb 21, 2024
1 parent b30f6f4 commit bcd799a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ jobs:
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
# Make "localhost" DNS entry available; see https://github.com/actions/runner-images/issues/6383
sudo networksetup -setdnsservers Ethernet 9.9.9.9
# sudo networksetup -setdnsservers Ethernet 9.9.9.9
echo -e "$(ipconfig getifaddr en0) $(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
echo `sudo lsof -PiTCP -sTCP:LISTEN`
fi
make test

0 comments on commit bcd799a

Please sign in to comment.