Skip to content

Commit 757b16e

Browse files
committed
ci: Update update-docs job to use newer macOS/DocC version (for --output-path)
1 parent bc0bbc1 commit 757b16e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build-test-and-docs.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,17 @@ jobs:
254254
upload: true
255255

256256
update-docs:
257-
runs-on: macos-14
257+
runs-on: macos-15
258258
needs: [macos, uikit, windows, linux]
259259
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
260260

261261
steps:
262-
- name: Force Xcode 15.4
263-
run: sudo xcode-select -switch /Applications/Xcode_15.4.app
262+
- name: Setup Xcode version
263+
uses: maxim-lobanov/setup-xcode@v1.6.0
264+
with:
265+
# Contains Swift 6.1. We need a recent DocC to have access to '--output-path'
266+
# in the 'docc merge' command
267+
xcode-version: '16.3'
264268

265269
- uses: actions/checkout@v3
266270

0 commit comments

Comments
 (0)