Skip to content

Commit

Permalink
[gha] Add more echo for checks done after quarto-dev config
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv committed Mar 11, 2024
1 parent 4b0bbb9 commit c35c00d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/actions/quarto-dev/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,19 @@ runs:
- name: Basic dev mode sanity check
shell: pwsh
run: |
If ( "$(quarto --version)" -ne "99.9.9") { Exit 1 }
If ( $(quarto --paths | Select-String -Pattern "package[/\\]+dist[/\\]+share") -ne $null ) { Exit 1 }
If ( "$(git status --porcelain)" -ne "" ) { Exit 1 }
If ( "$(quarto --version)" -ne "99.9.9") {
echo "Unexpected version detected: $(quarto --version)"
Exit 1
}
If ( $(quarto --paths | Select-String -Pattern "package[/\\]+dist[/\\]+share") -ne $null ) {
echo "Unexpected package/dist/share path detected: $(quarto --paths)"
Exit 1
}
If ( "$(git status --porcelain)" -ne "" ) {
echo "Uncommitted changes detected:"
git status --porcelain
Exit 1
}
- name: Quarto Check
if: runner.debug == '1'
Expand Down

0 comments on commit c35c00d

Please sign in to comment.