Skip to content

Commit c35c00d

Browse files
committed
[gha] Add more echo for checks done after quarto-dev config
1 parent 4b0bbb9 commit c35c00d

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/actions/quarto-dev/action.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,19 @@ runs:
3434
- name: Basic dev mode sanity check
3535
shell: pwsh
3636
run: |
37-
If ( "$(quarto --version)" -ne "99.9.9") { Exit 1 }
38-
If ( $(quarto --paths | Select-String -Pattern "package[/\\]+dist[/\\]+share") -ne $null ) { Exit 1 }
39-
If ( "$(git status --porcelain)" -ne "" ) { Exit 1 }
37+
If ( "$(quarto --version)" -ne "99.9.9") {
38+
echo "Unexpected version detected: $(quarto --version)"
39+
Exit 1
40+
}
41+
If ( $(quarto --paths | Select-String -Pattern "package[/\\]+dist[/\\]+share") -ne $null ) {
42+
echo "Unexpected package/dist/share path detected: $(quarto --paths)"
43+
Exit 1
44+
}
45+
If ( "$(git status --porcelain)" -ne "" ) {
46+
echo "Uncommitted changes detected:"
47+
git status --porcelain
48+
Exit 1
49+
}
4050
4151
- name: Quarto Check
4252
if: runner.debug == '1'

0 commit comments

Comments
 (0)