aboutsummaryrefslogtreecommitdiffstats
path: root/.forgejo/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.forgejo/workflows')
-rw-r--r--.forgejo/workflows/build-epubs.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.forgejo/workflows/build-epubs.yml b/.forgejo/workflows/build-epubs.yml
index 80ecf5d..e18556f 100644
--- a/.forgejo/workflows/build-epubs.yml
+++ b/.forgejo/workflows/build-epubs.yml
@@ -14,7 +14,8 @@ jobs:
- name: Install prerequisites
run: |
apt-get update
- apt-get install -y --no-install-recommends ca-certificates curl xz-utils git
+ apt-get install -y --no-install-recommends ca-certificates curl xz-utils git \
+ default-jre-headless epubcheck
- uses: actions/checkout@v4
@@ -31,6 +32,9 @@ jobs:
- name: Build EPUBs
run: zig build run
+ - name: Validate EPUBs
+ run: ./validate.sh
+
- name: Commit updated EPUBs
run: |
set -eux