Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,13 @@ runs:
shell: bash
run: |
cylc version

- name: Patch DNS (Mac OS)
shell: bash
if: startsWith(runner.os, 'macos')
run: |
# NOTE: This is cloned from cylc/release-actions
# We don't pull this action in from that repo as that would create an
# additional dependency which would need to be whitelisted by GH orgs.
echo -e "$(ipconfig getifaddr en0) $(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
dscacheutil -q host -a name $(hostname -f)