@@ -285,6 +285,16 @@ jobs:
285285 - run : |
286286 tar -zxf quarto-${{needs.configure.outputs.version}}-linux-amd64.tar.gz
287287 echo "$GITHUB_WORKSPACE/quarto-${{needs.configure.outputs.version}}/bin" >> $GITHUB_PATH
288+
289+ # Check for share/preview/quarto-preview.js
290+ - name : Ensure share/preview/quarto-preview.js exists
291+ shell : bash
292+ run : |
293+ if [ ! -f "share/preview/quarto-preview.js" ]; then
294+ echo "::error file=share/preview/quarto-preview.js::Required file share/preview/quarto-preview.js not found. Check the windows build configure step."
295+ exit 1
296+ fi
297+
288298 - run : |
289299 tar -tzvf quarto-${{needs.configure.outputs.version}}-linux-amd64.tar.gz | head
290300 ls -lR
@@ -384,7 +394,24 @@ jobs:
384394 path : .
385395 - run : |
386396 tar -xf quarto-${{needs.configure.outputs.version}}-win.zip
397+
398+ # Check for share/preview/quarto-preview.js
399+ - name : Ensure share/preview/quarto-preview.js exists
400+ shell : bash
401+ run : |
402+ if [ ! -f "share/preview/quarto-preview.js" ]; then
403+ echo "::error file=share/preview/quarto-preview.js::Required file share/preview/quarto-preview.js not found. Check the windows build configure step."
404+ exit 1
405+ fi
406+
387407 - run : Add-Content $env:GITHUB_PATH "$env:GITHUB_WORKSPACE\bin"
408+
409+ - run : |
410+ tar -tzvf quarto-${{needs.configure.outputs.version}}-win.zip
411+ ls -lR
412+ echo $PATH
413+ shell: bash
414+
388415 - run : |
389416 quarto check
390417 quarto --paths
@@ -466,6 +493,16 @@ jobs:
466493 - run : |
467494 tar -zxf quarto-${{needs.configure.outputs.version}}-macos.tar.gz
468495 echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
496+
497+ # Check for share/preview/quarto-preview.js
498+ - name : Ensure share/preview/quarto-preview.js exists
499+ shell : bash
500+ run : |
501+ if [ ! -f "share/preview/quarto-preview.js" ]; then
502+ echo "::error file=share/preview/quarto-preview.js::Required file share/preview/quarto-preview.js not found. Check the windows build configure step."
503+ exit 1
504+ fi
505+
469506 - run : tar -tzvf quarto-${{needs.configure.outputs.version}}-macos.tar.gz | head
470507 - run : ls -lR
471508 - run : echo $PATH
0 commit comments