Skip to content

Commit ae78362

Browse files
committedOct 4, 2024
Setup CI to update stdlib reference.
1 parent 807022c commit ae78362

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
 

‎.github/workflows/release.yml

+17
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,20 @@ jobs:
194194
${{ steps.notarize.outputs.SLANG_NOTARIZED_DIST }}
195195
env:
196196
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
197+
198+
- name: Checkout stdlib reference
199+
if: matrix.os == 'windows' && matrix.platform == 'x86_64'
200+
uses: actions/checkout@v3
201+
with:
202+
repository: shader-slang/stdlib-reference
203+
path: docs/
204+
token: ${{ secrets.UPDATE_STDLIB_REFERENCE_PAT }}
205+
- name: Update stdlib reference
206+
if: matrix.os == 'windows' && matrix.platform == 'x86_64'
207+
shell: powershell
208+
run: |
209+
cd docs/
210+
.\update_reference.ps1
211+
env:
212+
GITHUB_TOKEN: ${{ secrets.UPDATE_STDLIB_REFERENCE_PAT }}
213+

0 commit comments

Comments
 (0)