@@ -321,6 +321,16 @@ jobs:
321
321
- run : |
322
322
tar -zxf quarto-${{needs.configure.outputs.version}}-linux-amd64.tar.gz
323
323
echo "$GITHUB_WORKSPACE/quarto-${{needs.configure.outputs.version}}/bin" >> $GITHUB_PATH
324
+
325
+ # Check for share/preview/quarto-preview.js
326
+ - name : Ensure share/preview/quarto-preview.js exists
327
+ shell : bash
328
+ run : |
329
+ if [ ! -f "share/preview/quarto-preview.js" ]; then
330
+ echo "::error file=share/preview/quarto-preview.js::Required file share/preview/quarto-preview.js not found. Check the windows build configure step."
331
+ exit 1
332
+ fi
333
+
324
334
- run : |
325
335
tar -tzvf quarto-${{needs.configure.outputs.version}}-linux-amd64.tar.gz | head
326
336
ls -lR
@@ -431,7 +441,24 @@ jobs:
431
441
path : .
432
442
- run : |
433
443
tar -xf quarto-${{needs.configure.outputs.version}}-win.zip
444
+
445
+ # Check for share/preview/quarto-preview.js
446
+ - name : Ensure share/preview/quarto-preview.js exists
447
+ shell : bash
448
+ run : |
449
+ if [ ! -f "share/preview/quarto-preview.js" ]; then
450
+ echo "::error file=share/preview/quarto-preview.js::Required file share/preview/quarto-preview.js not found. Check the windows build configure step."
451
+ exit 1
452
+ fi
453
+
434
454
- run : Add-Content $env:GITHUB_PATH "$env:GITHUB_WORKSPACE\bin"
455
+
456
+ - run : |
457
+ tar -tzvf quarto-${{needs.configure.outputs.version}}-linux-amd64.tar.gz | head
458
+ ls -lR
459
+ echo $PATH
460
+ shell: bash
461
+
435
462
- run : |
436
463
quarto check
437
464
quarto --paths
@@ -525,6 +552,16 @@ jobs:
525
552
- run : |
526
553
tar -zxf quarto-${{needs.configure.outputs.version}}-macos.tar.gz
527
554
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
555
+
556
+ # Check for share/preview/quarto-preview.js
557
+ - name : Ensure share/preview/quarto-preview.js exists
558
+ shell : bash
559
+ run : |
560
+ if [ ! -f "share/preview/quarto-preview.js" ]; then
561
+ echo "::error file=share/preview/quarto-preview.js::Required file share/preview/quarto-preview.js not found. Check the windows build configure step."
562
+ exit 1
563
+ fi
564
+
528
565
- run : tar -tzvf quarto-${{needs.configure.outputs.version}}-macos.tar.gz | head
529
566
- run : ls -lR
530
567
- run : echo $PATH
0 commit comments