File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
.github/workflows/actions/quarto-dev Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -10,24 +10,22 @@ runs:
1010 run : |
1111 ./configure.sh
1212 echo "$HOME/bin" >> $GITHUB_PATH
13- echo "QUARTO_BIN=quarto" >> $GITHUB_ENV
1413
1514 - name : Configure Quarto (.ps1)
1615 if : runner.os == 'Windows'
1716 shell : pwsh
1817 run : |
1918 ./configure.cmd
2019 $env:QUARTO_BIN_DEV >> $env:GITHUB_PATH
21- "QUARTO_BIN=quarto.cmd" >> $env:GITHUB_ENV
2220
2321 - name : Basic dev mode sanity check
24- shell : bash
22+ shell : pwsh
2523 run : |
26- [ "$(${{ env.QUARTO_BIN }} --version)" == "99.9.9" ] || exit 1
27- [ "$(${{ env.QUARTO_BIN }} --paths | grep package/ dist/ share)" == "" ] || exit 1
28- [ "$(git status --porcelain)" == "" ] || exit 1
24+ If ( "$(quarto --version)" -ne "99.9.9") { Exit 1 }
25+ If ( -not $(quarto --paths | Select-String -Pattern " package[/\\]+ dist[\/]+ share") -ne $null ] { Exit 1 }
26+ If ( -not "$(git status --porcelain)" -ne "" ) { Exit 1 }
2927
3028 - name : Quarto Check
3129 working-directory : tests
32- shell : bash
33- run : ${{ env.QUARTO_BIN }} check
30+ shell : pwsh
31+ run : quarto check
You can’t perform that action at this time.
0 commit comments