Add release workflow (#34)

This commit is contained in:
Andreas
2023-01-06 14:42:39 +01:00
committed by GitHub
parent 069803262a
commit 7915d251a4

22
.github/workflows/main.yml vendored Normal file
View File

@@ -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