summaryrefslogtreecommitdiffstats
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-10-08 13:29:57 -0700
committerGitHub <noreply@github.com>2024-10-08 13:29:57 -0700
commitc42a9faad8d84f7bd05457d5f8e1fe45d6eecfa2 (patch)
treef6b5a249074882755e0232b1c9560118b7ccd6b2 /.github/workflows/release.yml
parent50f44c178de4c614dc45fc48938e6881c0373f6a (diff)
Overhaul docgen tool and setup CI to generate stdlib reference. (#5232)
* Overhaul docgen tool and setup CI to generate stdlib reference. * Fix build error. * Write parsed doc for all decls. * fix. * fix callout. * Fix. * Fix comment. * Fix. * Delete obsolete doc tests. * Fix. * Categorize functions and types. * Fix CI. * Update comments.
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 7cbb04f83..6681837b9 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -194,3 +194,21 @@ jobs:
${{ steps.notarize.outputs.SLANG_NOTARIZED_DIST }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Checkout stdlib reference
+ if: matrix.os == 'windows' && matrix.platform == 'x86_64'
+ uses: actions/checkout@v3
+ with:
+ repository: shader-slang/stdlib-reference
+ path: docs/stdlib-reference/
+ token: ${{ secrets.UPDATE_STDLIB_REFERENCE_PAT }}
+ - name: Update stdlib reference
+ if: matrix.os == 'windows' && matrix.platform == 'x86_64'
+ shell: powershell
+ run: |
+ cd docs/
+ ls
+ & ".\build_reference.ps1"
+ env:
+ GITHUB_TOKEN: ${{ secrets.UPDATE_STDLIB_REFERENCE_PAT }}
+