Skip to content

release 0.2.4

release 0.2.4 #50

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialise Submodule
run: git submodule init && git submodule update
- name: Generate Documentation
working-directory: ./Core
run: |
swift package generate-documentation \
--target Core \
--symbol-graph-minimum-access-level internal \
--hosting-base-path feed-radar \
--disable-indexing \
--transform-for-static-hosting \
--warnings-as-errors
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: Core/.build/plugins/Swift-DocC/outputs/Core.doccarchive
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4