Skip to content

Commit

Permalink
macos etc-hosts fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vieiro committed Jul 14, 2024
1 parent fd7dcc9 commit 3ac6cd6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,17 @@ jobs:
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
if: runner.os == 'macOS'

- name: 'macos /etc/hosts'
run: |
echo "HOSTNAME:"
hostname
echo "/etc/hosts"
cat /etc/hosts
echo "127.0.0.1 $( hostname )" | sudo tee -a /etc/hosts
echo "/etc/hosts"
cat /etc/hosts
if: runner.os == 'macOS'

- name: 'Set PATH'
id: path
run: |
Expand Down

0 comments on commit 3ac6cd6

Please sign in to comment.