From 11962133eb37bc52d57369a9df83ba526a0dd5a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keyhan=20Jannat=20Khah=20=E2=98=95?= Date: Mon, 12 Aug 2024 17:30:21 +0330 Subject: [PATCH] artifact --- .github/workflows/gen_pdf_as_artifact.yml | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/gen_pdf_as_artifact.yml diff --git a/.github/workflows/gen_pdf_as_artifact.yml b/.github/workflows/gen_pdf_as_artifact.yml new file mode 100644 index 0000000..fde3b0b --- /dev/null +++ b/.github/workflows/gen_pdf_as_artifact.yml @@ -0,0 +1,29 @@ +name: Generate PDF as a artifact + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up LaTeX + run: | + sudo apt-get update + sudo apt-get install -y texlive-full + + - name: Build PDF + run: | + make + + - name: Upload PDF Artifact + uses: actions/upload-artifact@v2 + with: + name: pdf-artifact + path: erlang-spec.pdf \ No newline at end of file