Skip to content

Finish update to Swift 5.10 (#304) #139

Finish update to Swift 5.10 (#304)

Finish update to Swift 5.10 (#304) #139

Workflow file for this run

name: PublishDocumentation
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
if: github.repository == 'jocosocial/swiftarr'
runs-on: macos-13
steps:
- name: Install SourceKitten
run: brew install sourcekitten
- name: Install Jazzy
run: sudo gem install jazzy
- name: Install Swift
uses: swift-actions/setup-swift@v2
with:
swift-version: "5.10.0"
- name: Confirm Swift Version
run: swift --version
- name: Checkout Swiftarr
uses: actions/checkout@v2
- name: Generate Docs
run: scripts/generatedocs.sh
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: docs/Output
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4