Skip to content

Commit d84978f

Browse files
committed
use macOS
1 parent 9fb8559 commit d84978f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- try-pages
66
jobs:
77
deploy:
8-
runs-on: ubuntu-22.04
8+
runs-on: "macos-15"
99
permissions:
1010
contents: read
1111
deployments: write
@@ -19,14 +19,14 @@ jobs:
1919
node-version: "20"
2020
- name: Install npm packages
2121
run: npm install
22-
- name: Setup Swift
23-
uses: swift-actions/setup-swift@v2
22+
- name: Setup Xcode
23+
uses: maxim-lobanov/setup-xcode@v1
2424
with:
25-
swift-version: "5.9"
25+
xcode-version: "16.0"
2626
- name: Get swift version
2727
run: swift --version
2828
- name: Build
29-
run: docc convert swift-6-beta.docc \
29+
run: xcrun docc convert swift-6-beta.docc \
3030
--output-path ./docs \
3131
--hosting-base-path swift-6-beta \
3232
--fallback-display-name "Swift 6 Beta" \

0 commit comments

Comments
 (0)