From 410c6ae9cfd604cad21ad4c59a5ca0824932a648 Mon Sep 17 00:00:00 2001 From: Daniel Shapero Date: Tue, 27 Jun 2023 20:14:38 -0700 Subject: [PATCH] Use GH actions to compile + upload document --- .github/workflows/compile.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/compile.yml diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 0000000..16f019a --- /dev/null +++ b/.github/workflows/compile.yml @@ -0,0 +1,18 @@ +name: 'Compile and upload document' +on: [push] +jobs: + build_latex: + runs-on: ubuntu-latest + container: + image: ghcr.io/icepack/tensor-product-stokes:0.0.1 + options: --user root + steps: + - name: Check out git repository + uses: actions/checkout@v3 + - name: Compile TeX document + run: make + - name: Upload PDF file + uses: actions/upload-artifact@v3 + with: + name: tensor-product-stokes + path: tensor-product-stokes.pdf