From 7915d251a450f7dbe9effce21b11654f50c17085 Mon Sep 17 00:00:00 2001 From: Andreas <21068727+ndrsfel@users.noreply.github.com> Date: Fri, 6 Jan 2023 14:42:39 +0100 Subject: [PATCH] Add release workflow (#34) --- .github/workflows/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..708e7b1 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: Release LaTeX Document +on: + push: + tags: + - 'v*' +jobs: + build_latex: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v3 + - uses: xu-cheng/texlive-action/full@v1 + with: + run: | + apk add make + cd book + make all + make release + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: book/TheBreadCode-The-Sourdough-Framework.pdf