mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-17 08:31:12 -06:00
Add release workflow (#34)
This commit is contained in:
22
.github/workflows/main.yml
vendored
Normal file
22
.github/workflows/main.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user