File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,13 +85,30 @@ jobs:
8585 echo "chromium-installed=true" >> "$GITHUB_OUTPUT"
8686 fi
8787
88- - name : Assert deprecation warning was shown
88+ - name : Assert install deprecation warning was shown
8989 if : steps.install-chromium.outputs.deprecation-warning != 'true'
9090 shell : bash
9191 run : |
9292 echo "::error::Deprecation warning missing from quarto install chromium output"
9393 exit 1
9494
95+ - name : Update chromium and capture result
96+ id : update-chromium
97+ shell : bash
98+ run : |
99+ output=$(quarto update chromium --no-prompt 2>&1) || true
100+ echo "$output"
101+ if echo "$output" | grep -q "deprecated"; then
102+ echo "deprecation-warning=true" >> "$GITHUB_OUTPUT"
103+ fi
104+
105+ - name : Assert update deprecation warning was shown
106+ if : steps.update-chromium.outputs.deprecation-warning != 'true'
107+ shell : bash
108+ run : |
109+ echo "::error::Deprecation warning missing from quarto update chromium output"
110+ exit 1
111+
95112 - name : Verify quarto check warns about outdated Chromium
96113 if : steps.install-chromium.outputs.chromium-installed == 'true'
97114 shell : bash
You can’t perform that action at this time.
0 commit comments