From 69706f72e7c0d09bb8546b0db5d997bb436f8a02 Mon Sep 17 00:00:00 2001 From: Ashley Chiu Date: Sat, 7 Sep 2024 14:30:17 -0700 Subject: [PATCH] [fix] remove temporary files --- .github/workflows/generate-pdf.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-pdf.yml b/.github/workflows/generate-pdf.yml index be8308c..9a6d7e3 100644 --- a/.github/workflows/generate-pdf.yml +++ b/.github/workflows/generate-pdf.yml @@ -129,10 +129,14 @@ jobs: "pdf_output/network_abusing-intrusion-detection.pdf" \ "pdf_output/network_malware.pdf" \ "pdf_output/network_tor.pdf" \ - "textbook_full_tmp.pdf" + "textbook_full.pdf" - name: Inject page numbers back into the pdf - run: pdfjam --pagecommand '\pagestyle{plain}' --outfile textbook_full.pdf textbook_full_tmp.pdf + run: pdfjam --pagecommand '\pagestyle{plain}' --outfile textbook_full.pdf textbook_full.pdf + + - name: Remove temporary files + run: | + rm -rf pdf_output - name: Upload PDF as an artifact uses: actions/upload-artifact@v4