Skip to content

refactor(clp-package): Use annoated serializer to avoid custom serialization. #6494

refactor(clp-package): Use annoated serializer to avoid custom serialization.

refactor(clp-package): Use annoated serializer to avoid custom serialization. #6494

Workflow file for this run

name: "clp-docs"
on:
pull_request:
push:
schedule:
# Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
- cron: "15 0 * * *"
workflow_dispatch:
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
# Cancel in-progress jobs for efficiency
cancel-in-progress: true
jobs:
build:
name: "build"
strategy:
matrix:
os:
- "macos-15"
- "ubuntu-24.04"
runs-on: "${{matrix.os}}"
steps:
- uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"
with:
lfs: "true"
submodules: "recursive"
- uses: "actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38"
with:
python-version: "3.10"
- name: "Install task"
shell: "bash"
run: "npm install -g @go-task/cli@3.44.0"
- if: "matrix.os == 'macos-15'"
name: "Install coreutils (for md5sum)"
run: "brew install coreutils"
- name: "Build docs"
shell: "bash"
run: "task docs:site"
# Upload the built docs so we can download and deploy them from y-scope/yscope-docs
- if: >-
contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name)
&& ('refs/heads/main' == github.ref || startsWith(github.ref, 'refs/tags/v'))
&& 'ubuntu-24.04' == matrix.os
uses: "actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02"
with:
name: "docs-html"
path: "build/docs/html"
if-no-files-found: "error"
# Retain the artifact for a week in case there was a deployment issue
retention-days: 7