Skip to content

Commit

Permalink
紙版再開
Browse files Browse the repository at this point in the history
  • Loading branch information
huideyeren committed Nov 23, 2024
1 parent 95793d0 commit b006a62
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,48 +95,48 @@ jobs:
# name: ${{ format('inokashira-mythos_{0}_{1}_{2}', 'epub', env.MUKI, steps.date.outputs.date) }}
# path: book.epub

# print-pdf:
print-pdf:
# # needs: reviewdog-github-check
# name: 塗り足しのある印刷用PDF
# runs-on: ubuntu-latest
# container:
# image: ghcr.io/huideyeren/vivliostyle-review-docker:latest
# steps:
# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# - name: リポジトリのチェックアウト
# uses: actions/checkout@v4
# - name: 現在時刻を取得
# env:
# TZ: "Asia/Tokyo" # タイムゾーンを指定
# id: date
# run: echo "::set-output name=date::$(date +'%Y-%m-%d_%H%M')"
# # '%Y-%m-%d %H:%M'の部分を書き換えれば、任意の表示に変更できる。
# - name: 現在時刻を確認
# run: echo ${{ steps.date.outputs.date }} # 2022-01-03 10:42
# - name: Node.jsのパッケージをインストール
# run: pnpm install
# - name: SCSSのコンパイル
# run: pnpm run style:${{ env.SIZE }}-tate
# - name: Rubyのパッケージをインストール
# run: bundle install
# - name: Pythonのセットアップ
# uses: actions/setup-python@v5
# with:
# python-version: '3.12'
# - name: 画像の白黒化
# run: |
# python -m pip install --upgrade pip
# python -m pip install anshitsu
# pwd | python grayscaling.py >> .grayscaling.log
# - name: 画像白黒化のログ確認
# run: cat .grayscaling.log
# - name: PDFの生成
# run: REVIEW_VSCLI_OPTIONS="--timeout 600" REVIEW_CONFIG_FILE=config-print-tate.yml REVIEW_VSCLI_USESANDBOX=true REVIEW_VSCLI_GRAYSCALE=true bundle exec rake vivliostyle
# - name: 成果物のアップロード
# uses: actions/upload-artifact@v4
# with:
# name: ${{ format('inokashira-mythos_{0}_{1}_{2}', 'print-pdf', env.MUKI, steps.date.outputs.date) }}
# path: book.pdf
name: 塗り足しのある印刷用PDF
runs-on: ubuntu-latest
container:
image: ghcr.io/huideyeren/vivliostyle-review-docker:latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: リポジトリのチェックアウト
uses: actions/checkout@v4
- name: 現在時刻を取得
env:
TZ: "Asia/Tokyo" # タイムゾーンを指定
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d_%H%M')"
# '%Y-%m-%d %H:%M'の部分を書き換えれば、任意の表示に変更できる。
- name: 現在時刻を確認
run: echo ${{ steps.date.outputs.date }} # 2022-01-03 10:42
- name: Node.jsのパッケージをインストール
run: pnpm install
- name: SCSSのコンパイル
run: pnpm run style:${{ env.SIZE }}-tate
- name: Rubyのパッケージをインストール
run: bundle install
- name: Pythonのセットアップ
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: 画像の白黒化
run: |
python -m pip install --upgrade pip
python -m pip install anshitsu
pwd | python grayscaling.py >> .grayscaling.log
- name: 画像白黒化のログ確認
run: cat .grayscaling.log
- name: PDFの生成
run: REVIEW_VSCLI_OPTIONS="--timeout 600" REVIEW_CONFIG_FILE=config-print-tate.yml REVIEW_VSCLI_USESANDBOX=true REVIEW_VSCLI_GRAYSCALE=true bundle exec rake vivliostyle
- name: 成果物のアップロード
uses: actions/upload-artifact@v4
with:
name: ${{ format('inokashira-mythos_{0}_{1}_{2}', 'print-pdf', env.MUKI, steps.date.outputs.date) }}
path: book.pdf

# print-pdf-no-bleed:
# # needs: reviewdog-github-check
Expand Down

0 comments on commit b006a62

Please sign in to comment.