Skip to content

Commit

Permalink
more tries
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Aug 27, 2024
1 parent fb892f8 commit 0adac20
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,15 @@ runs:
shell: bash
if: runner.os == 'Windows'
run: |
netsh
interface ip show config
netsh interface ip show config
# interface ip set dns "Wi-Fi" static 8.8.8.8

- name: Set 8.8.8.8 as dns server macos
- name: Set 8.8.4.4 as dns server macos
shell: bash
if: runner.os == 'macOS'
run: |
networksetup -listnetworkserviceorder
networksetup -setdnsservers Ethernet "8.8.8.8 8.8.4.4"
networksetup -setdnsservers Ethernet "8.8.4.4"
scutil --dns
networksetup -listnetworkserviceorder
Expand Down

0 comments on commit 0adac20

Please sign in to comment.