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