Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/docs-reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: node reference docs
if: ${{ needs.what.outputs.dev || needs.what.outputs.node }}
if: ${{ needs.what.outputs.dev == 'true' || needs.what.outputs.node == 'true' }}
uses: ./.github/actions/node-reference-docs
with:
node-version: 22
Expand All @@ -68,7 +68,7 @@ jobs:
build-stable: ${{ needs.what.outputs.node }}

- name: Python reference docs
if: ${{ needs.what.outputs.dev || needs.what.outputs.python }}
if: ${{ needs.what.outputs.dev == 'true' || needs.what.outputs.python == 'true' }}
uses: ./.github/actions/python-reference-docs
with:
python-version: 3.12
Expand All @@ -82,17 +82,17 @@ jobs:
# TODO: move this into a composite action so we don't have to `if` every
# step separately.
- name: Build Rust documentation
if: ${{ needs.what.outputs.dev }}
if: ${{ needs.what.outputs.dev == 'true' }}
run: cargo xtask core doc

- name: Deploy Rust dev docs
if: ${{ needs.what.outputs.dev }}
if: ${{ needs.what.outputs.dev == 'true' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: target/doc/
target-folder: api/rust/dev
single-commit: true

- name: Clean up rust dev docs artifacts
if: ${{ needs.what.outputs.dev }}
if: ${{ needs.what.outputs.dev == 'true' }}
run: rm -rf target/doc