Skip to content

Commit ef2ce32

Browse files
committed
test
1 parent 6062cdc commit ef2ce32

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/hostname.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: [ubuntu-24.04, macos-15]
16+
os: [macos-26]
1717

1818
steps:
1919
- uses: actions/checkout@v3
@@ -24,9 +24,9 @@ jobs:
2424
- name: scutil
2525
run: |
2626
set -x
27-
scutil -get ComputerName # the ”friendly” name
28-
scutil -get LocalHostName # the Bonjour / mDNS / ZeroConf host name
29-
scutil -get HostName # should be the same as what hostname command returns
27+
scutil --get ComputerName # the ”friendly” name
28+
scutil --get LocalHostName # the Bonjour / mDNS / ZeroConf host name
29+
scutil --get HostName # should be the same as what hostname command returns
3030
3131
- name: Run hostname check script
3232
run: |
@@ -40,11 +40,11 @@ jobs:
4040
echo "Pinging FQDN..."
4141
ping -c 1 $(hostname -f)
4242
43-
- name: Change hostname
44-
run: |
45-
# https://apple.stackexchange.com/questions/287760/set-the-hostname-computer-name-for-macos
43+
# - name: Change hostname
44+
# run: |
45+
# # https://apple.stackexchange.com/questions/287760/set-the-hostname-computer-name-for-macos
4646

47-
sudo scutil --set HostName <new host name>
48-
sudo scutil --set LocalHostName <new host name>
49-
sudo scutil --set ComputerName <new name>
50-
dscacheutil -flushcache
47+
# sudo scutil --set HostName <new host name>
48+
# sudo scutil --set LocalHostName <new host name>
49+
# sudo scutil --set ComputerName <new name>
50+
# dscacheutil -flushcache

0 commit comments

Comments
 (0)