Skip to content

Commit

Permalink
Backport of 314bdf54ab03d7b5ce677dfc0e97d484aa0f607f
Browse files Browse the repository at this point in the history
  • Loading branch information
elifaslan1 committed Aug 6, 2024
1 parent 38825d5 commit a2c2bd5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,15 @@ jobs:
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
if: runner.os == 'macOS'

- name: 'Update /etc/hosts on macos-13'
run: |
# On macos-13 we need to update /etc/hosts for getaddrinfo
# So that JDI/JDWP socket connectors are able to resolve local names
# See JDK-8336451
echo -e "127.0.0.1 $(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
echo -e "" | sudo tee -a /etc/hosts
if: runner.os == 'macOS'

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

0 comments on commit a2c2bd5

Please sign in to comment.