Skip to content

Commit

Permalink
* build zh too
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyt committed Mar 10, 2024
1 parent 78f8e88 commit 051956c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,24 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v2
# - name: Install dependencies
# run: |
# # Install necessary dependencies (e.g., Perl, Docker)
# perl scripts/make-book.pl
- name: Generate book files
run: |
# Install necessary dependencies (e.g., Perl, Docker)
perl scripts/make-book.pl
- name: Generate book files (zh-tw)
run: |
perl scripts/make-book-zh-tw.pl
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: book-files
path: |
Plurality-english.pdf
Plurality-english.epub
Plurality-traditional-mandarin.pdf
Plurality-traditional-mandarin.epub
- uses: ncipollo/release-action@v1
with:
artifacts: "*.pdf,*.epub"
token: ${{ secrets.RELEASE_TOKEN }}
tag: latest

0 comments on commit 051956c

Please sign in to comment.