Skip to content

Commit 16f8401

Browse files
committed
Fix public PDF cover gate on Linux
1 parent 65fd8db commit 16f8401

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/book-build-container.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -618,9 +618,9 @@ jobs:
618618
# while the public downloadable PDF needs the designed cover. Keep
619619
# the canonical Volume I PDF config as the publisher-safe default
620620
# and alter only this disposable per-job config for public releases.
621-
if [[ "${{ inputs.include_pdf_cover }}" == "true" \
622-
&& "${{ matrix.volume }}" == "vol1" \
623-
&& "${{ matrix.format_name }}" == "PDF" ]]; then
621+
if [ "${{ inputs.include_pdf_cover }}" = "true" ] \
622+
&& [ "${{ matrix.volume }}" = "vol1" ] \
623+
&& [ "${{ matrix.format_name }}" = "PDF" ]; then
624624
sed -i 's/^ coverpage: false$/ coverpage: true/' _quarto.yml
625625
grep -q '^ coverpage: true$' _quarto.yml
626626
echo "📘 Enabled the Volume I cover page for the public PDF artifact"

0 commit comments

Comments
 (0)