Skip to content

Commit f166516

Browse files
Merge pull request #9 from cylc/v1
sync
2 parents a712a02 + 99ce72c commit f166516

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,13 @@ runs:
8282
shell: bash
8383
run: |
8484
cylc version
85+
86+
- name: Patch DNS (Mac OS)
87+
shell: bash
88+
if: startsWith(runner.os, 'macos')
89+
run: |
90+
# NOTE: This is cloned from cylc/release-actions
91+
# We don't pull this action in from that repo as that would create an
92+
# additional dependency which would need to be whitelisted by GH orgs.
93+
echo -e "$(ipconfig getifaddr en0) $(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
94+
dscacheutil -q host -a name $(hostname -f)

0 commit comments

Comments
 (0)