Skip to content

Build GO PDF #7

Build GO PDF

Build GO PDF #7

Workflow file for this run

name: Build GO PDF
on:
schedule:
- cron: "1 1 * * *"
workflow_dispatch: {}
jobs:
go-pdf-make:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure git longpaths (Windows)
if: matrix.os == 'windows-latest'
run: |
git config --system core.longpaths true
- name: Install mlc-scripts
run: |
pip install mlc-scripts
mlc pull repo gateoverflow@go-pdfs
- name: Test Build (Windows)
if: matrix.os == 'windows-latest'
run: |
# curl -L -o book_filter6.html https://github.com/GATEOverflow/GO-PDFs/releases/download/ugcnet/book_filter6.html
Invoke-WebRequest -Uri 'https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.6/wkhtmltox-0.12.6-1.msvc2015-win64.exe' -OutFile 'wkhtmltox-0.12.6-1.msvc2015-win64.exe'
mlcr make,go,pdf,_go-cse,_vol1 --input=book_filter6.html -v --quiet
- name: Test Build (Linux/macOS)
if: matrix.os != 'windows-latest'
run: |
wget https://github.com/GATEOverflow/GO-PDFs/releases/download/ugcnet/book_filter6.html
mlcr make,go,pdf,_go-cse,_vol1 --input=book_filter6.html -v --quiet