Skip to content

Commit 79aa03e

Browse files
committed
use macos runner
1 parent b5d077f commit 79aa03e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
test:
8-
runs-on: ubuntu-latest
8+
runs-on: macos-latest
99
steps:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-node@v4
@@ -15,10 +15,10 @@ jobs:
1515

1616
- name: Install Swift
1717
run: |
18-
curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz && \
19-
tar zxf swiftly-$(uname -m).tar.gz && \
20-
./swiftly init --quiet-shell-followup && \
21-
. "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh" && \
18+
curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \
19+
installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
20+
~/.swiftly/bin/swiftly init --quiet-shell-followup && \
21+
. "${SWIFTLY_HOME_DIR:-$HOME/.swiftly}/env.sh" && \
2222
hash -r
2323
2424
- name: Configure Swift

0 commit comments

Comments
 (0)