Skip to content

proper unzip

proper unzip #5

Workflow file for this run

name: CI (Self-Test for ditac-epub-action)
on:
push:
branches: [ main, master ]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# EPUB 3
- name: Build EPUB3
uses: ./
with:
map: example/document.ditamap
output: out/example.epub
format: epub3
resources-dir: example/res
validate-with-epubcheck: 'true'
- name: Upload EPUB artifact
uses: actions/upload-artifact@v4
with:
name: example-epub
path: out/example.epub
# PDF (forces plus-fop bundle automatically)
- name: Build PDF
uses: ./
with:
map: example/document.ditamap
output: out/example.pdf
format: pdf
# prefer-plus-fop stays 'auto' (default), which selects plus-fop for PDF
- name: Upload PDF artifact
uses: actions/upload-artifact@v4
with:
name: example-pdf
path: out/example.pdf
- name: List outputs
run: |
echo "Final outputs:"
ls -l out || true