Skip to content

Commit ecaad6d

Browse files
taylorarndtCopilot
andcommitted
fix: drop DAISY 2.02 (requires TTS), fix BRF output-file-format flag
DAISY 2.02 requires --data TTS config. EPUB 3 is already DAISY-compatible (works with Voice Dream, AMIS, RNIB Reader, Apple Books natively). BRF: correct flag is --output-file-format not --output-format. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9c8966b commit ecaad6d

1 file changed

Lines changed: 3 additions & 20 deletions

File tree

.github/workflows/build-epub.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build EPUB, Word, DAISY, and BRF
1+
name: Build EPUB, Word, and BRF
22

33
on:
44
push:
@@ -53,23 +53,14 @@ jobs:
5353
sleep 2
5454
done
5555
56-
- name: Convert EPUB to DAISY 2.02 (text-only, no TTS required)
57-
continue-on-error: true
58-
run: |
59-
mkdir -p epub/daisy
60-
pipeline2/daisy-pipeline/cli/dp2 epub3-to-daisy202 \
61-
--source "$(pwd)/epub/git-going-with-github.epub" \
62-
--output "$(pwd)/epub/daisy/" || echo "DAISY conversion failed - check dp2 logs above"
63-
ls epub/daisy/ || echo "No DAISY output produced"
64-
65-
- name: Convert EPUB to BRF (Braille, no TTS required)
56+
- name: Convert EPUB to BRF (Braille — no TTS required)
6657
continue-on-error: true
6758
run: |
6859
mkdir -p epub/brf
6960
pipeline2/daisy-pipeline/cli/dp2 epub3-to-pef \
7061
--source "$(pwd)/epub/git-going-with-github.epub" \
7162
--output "$(pwd)/epub/brf/" \
72-
--output-format brf || echo "BRF conversion failed - check dp2 logs above"
63+
--output-file-format "(-daisy-locale: en-US)" || echo "BRF conversion failed - check dp2 logs above"
7364
ls epub/brf/ || echo "No BRF output produced"
7465
7566
- name: Upload EPUB artifact
@@ -86,14 +77,6 @@ jobs:
8677
path: epub/git-going-with-github.docx
8778
retention-days: 90
8879

89-
- name: Upload DAISY artifact
90-
uses: actions/upload-artifact@v4
91-
with:
92-
name: git-going-with-github-daisy
93-
path: epub/daisy/
94-
if-no-files-found: warn
95-
retention-days: 90
96-
9780
- name: Upload BRF artifact
9881
uses: actions/upload-artifact@v4
9982
with:

0 commit comments

Comments
 (0)