diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yml | 18 |
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 }} + |
