Skip to content

Commit

Permalink
update..
Browse files Browse the repository at this point in the history
  • Loading branch information
huideyeren committed Jul 5, 2024
1 parent 5c1dbfd commit 2d68352
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,21 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
set-time:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set current datetime as env variable
env:
TZ: 'Asia/Tokyo' # タイムゾーン指定
run: echo "CURRENT_DATETIME=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV

- name: Show current datetime
run: echo ${{ env.CURRENT_DATETIME }}

# reviewdog-github-check:
# name: reviewdog (github-check)
# runs-on: ubuntu-latest
Expand Down Expand Up @@ -61,6 +76,7 @@ jobs:

paper:
# needs: reviewdog-github-check
needs: set-time
name: Make PDF for Paper
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -95,6 +111,7 @@ jobs:
path: book-print-pdf.pdf
pdf-ebook:
# needs: reviewdog-github-check
needs: set-time
name: Make PDF for Ebook
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -125,6 +142,7 @@ jobs:
path: book-pdf-ebook.pdf
epub:
# needs: reviewdog-github-check
needs: set-time
name: Make EPUB
runs-on: ubuntu-latest
container:
Expand All @@ -147,10 +165,11 @@ jobs:
- name: Upload artifact.
uses: actions/upload-artifact@v3
with:
name: book-epub_${{ env.CURRENT_DATETIME }}.epub
name: book-epub_${{ env.CURRENT_DATETIME }}.pdf
path: book-epub.epub
vivliostyle:
# needs: reviewdog-github-check
needs: set-time
name: Make PDF at Vivliostyle
runs-on: ubuntu-latest
container:
Expand Down
3 changes: 1 addition & 2 deletions config-epub.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
inherit: ["config.yml"]
# catalogfile: catalog-download.yml
bookname: book-epub
cover: null
coverimage: cover.xhtml
cover: cover.xhtml
titlepage: true
titlefile: title.xhtml
colophon: colophon.xhtml
Expand Down

0 comments on commit 2d68352

Please sign in to comment.