diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh index 8df3cc459c4..75cef84afce 100755 --- a/.github/workflows/build.sh +++ b/.github/workflows/build.sh @@ -37,9 +37,7 @@ else fi mdbook build -d "$dest_dir" -if [ -f "$dest_dir/pandoc/pdf/comprehensive-rust.pdf" ]; then - mv "$dest_dir/pandoc/pdf/comprehensive-rust.pdf" "$dest_dir/html/" -fi +mv "$dest_dir/pandoc/pdf/comprehensive-rust.pdf" "$dest_dir/html/" (cd "$dest_dir/exerciser" && zip --recurse-paths ../html/comprehensive-rust-exercises.zip comprehensive-rust-exercises/) echo "::endgroup::"