Skip to content

Support Swift 6/Xcode 16 #344

Support Swift 6/Xcode 16

Support Swift 6/Xcode 16 #344

Workflow file for this run

name: Jazzy
on:
push:
branches: [main]
pull_request:
branches: ['*']
jobs:
Jazzy:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: swift build
- name: Generate documentation json
run: swift run sourcekitten doc --spm --module-name SourceKittenFramework > SourceKittenFramework.json
- name: Run jazzy
run: bundle exec jazzy --clean --sourcekitten-sourcefile SourceKittenFramework.json
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: API Docs
path: docs