Skip to content

Commit

Permalink
Fixed files added to release
Browse files Browse the repository at this point in the history
  • Loading branch information
flavienbwk committed Nov 12, 2023
1 parent 51092d7 commit 0c2e666
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,11 @@ jobs:
- name: Get FR text from book
run: |
pdftotext ./book.pdf
mv ./book.pdf ./book-fra.pdf
- name: Get FR text from book
run: |
if grep -q "??" ./book.pdf; then
if grep -q "??" ./book-fra.pdf; then
echo "The file contains the string '??'"
else
echo "The file does not contain the string '??'"
Expand All @@ -158,10 +159,11 @@ jobs:
- name: Get EN text from book
run: |
pdftotext ./book.pdf
mv ./book.pdf ./book-eng.pdf
- name: Get EN text from book
run: |
if grep -q "??" ./book.pdf; then
if grep -q "??" ./book-eng.pdf; then
echo "The file contains the string '??'"
else
echo "The file does not contain the string '??'"
Expand Down Expand Up @@ -307,7 +309,8 @@ jobs:
name: ${{ env.BOOK_VERSION }}
tag_name: ${{ env.BOOK_VERSION }}
files: |
./book.pdf
./book-fra.pdf
./book-eng.pdf
prerelease: ${{ steps.get-version.outputs.prerelease }}
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 0c2e666

Please sign in to comment.