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