mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-26 12:54:00 -06:00
I feel like since this is bread related, release should be renamed to "bake". So `make bake` will bake you the final book versions.
26 lines
783 B
YAML
26 lines
783 B
YAML
name: Validate LaTeX Document
|
|
on: [ push, pull_request ]
|
|
jobs:
|
|
test_building_book:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up git repository
|
|
uses: actions/checkout@v3
|
|
- name: Test building book
|
|
uses: xu-cheng/texlive-action/full@v1
|
|
with:
|
|
run: |
|
|
apk add make
|
|
cd book
|
|
make build_pdf
|
|
- name: Test baking the release versions
|
|
uses: xu-cheng/texlive-action/full@v1
|
|
with:
|
|
run: |
|
|
apk add make zip tidyhtml
|
|
wget https://archive.org/download/kindlegen_linux_2_6_i386_v2_9/kindlegen_linux_2.6_i386_v2_9.tar.gz
|
|
tar xzf kindlegen_linux_2.6_i386_v2_9.tar.gz
|
|
mv kindlegen /usr/bin
|
|
cd book
|
|
make bake
|