mirror of
https://github.com/openjdk/jdk11u.git
synced 2025-12-11 01:00:23 -06:00
8336451: [11u] GHA macos-13 and macos-15 builders are unable to resolve local hostname
Reviewed-by: sgehwolf
This commit is contained in:
parent
1b0f612e5e
commit
a9de6b6ae7
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -132,6 +132,13 @@ jobs:
|
||||
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
|
||||
if: runner.os == 'macOS'
|
||||
|
||||
# Fixes JDK-8336451
|
||||
- name: 'Update /etc/hosts on macos'
|
||||
run: |
|
||||
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: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user