From 051956c76e1706e9f9957949e8d5016ea93ee353 Mon Sep 17 00:00:00 2001 From: Audrey Tang Date: Sun, 10 Mar 2024 11:27:48 +0800 Subject: [PATCH] * build zh too --- .github/workflows/main.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4d381e2e..2ffcf6c3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,13 +12,13 @@ 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: @@ -26,7 +26,10 @@ jobs: 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