This is a GitHub Action for Re:VIEW repository: builds EPUB and uploads as Artifacts.
Name: Nyoho/review-epub-generator-action
name: build Re:VIEW EPUB
on: [push]
jobs:
build:
name: generate EPUB
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: build EPUB
uses: Nyoho/review-epub-generator-action@master
- name: upload as Artifacts
uses: Nyoho/review-epub-generator-action/upload-artifact@master
upload-artifact
is a copy of official upload-artifact action.
The changes are:
- inputs
name
andpath
is not required - default
path
isbuild/output.epub
(in Japanese)
これはRe:VIEWリポジトリ用のGitHub Actionで、EPUBをビルドしてArtifactsとして保存するものです。
GitHub Actionsのbeta版に対応しています(現在はbeta版にsign upしている方のみ利用可能です)。
以下のようなYAMLファイルを .github/workflows/main.yml
ファイルなどに置きます。
name: build Re:VIEW EPUB
on: [push]
jobs:
build:
name: generate EPUB
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: build EPUB
uses: Nyoho/review-epub-generator-action@master
- name: upload as Artifacts
uses: Nyoho/review-epub-generator-action/upload-artifact@master
upload-artifact
は official upload-artifact actionをコピーしたものです。
違いは以下になります:
- inputs の
name
とpath
が省略可になっています - デフォルトの
path
はbuild/output.epub
になっています(Re:VIEW EPUB Generator Actionの出力先に揃えています)
forked from takahashim/review-pdf-generator-action