Skip to content

Commit

Permalink
Update check-and-ebook.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb authored Nov 17, 2024
1 parent 36d8dff commit 5f789f6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/check-and-ebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
# do not run for unchanged tex files
if: needs.check.outputs.cache-hit != 'true'

runs-on: ubuntu-24.04
runs-on: ubuntu-24.10

steps:
- name: Checkout repository
Expand Down Expand Up @@ -116,11 +116,20 @@ jobs:
pandoc --version
python3 --version
- name: Download previous hpmor.html
run: |
wget --quiet https://github.com/entorb/hpmor-de/releases/download/WorkInProgress/hpmor.html -O hpmor-prev.html
- name: Make eBooks
run: |
wget --quiet https://github.com/entorb/hpmor-de/releases/download/WorkInProgress/hpmor.pdf -O hpmor.pdf
sh scripts/make_ebooks.sh > /dev/null
- name: Compare to previous hpmor.html
run: |
diff -u hpmor-prev.html hpmor.html > hpmor-html-diff.log
rm hpmor-prev.html
- name: ls after
run: |
pwd
Expand All @@ -133,10 +142,11 @@ jobs:
path: |
./hpmor.docx
./hpmor.html
./hpmor-html-diff.log
./hpmor.epub
./hpmor.mobi
./hpmor.fb2
retention-days: 7
retention-days: 14

#
# make upload to release WorkInProgress
Expand Down

0 comments on commit 5f789f6

Please sign in to comment.