use windows #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Export wiki to pdf | |
on: | |
push: | |
branches: | |
- export_pdf | |
jobs: | |
job1: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Checkout wiki | |
uses: actions/checkout@v4 | |
with: | |
repository: DoctorReid/StarRailAutoProxy.wiki | |
ref: master | |
fetch-depth: 1 | |
path: wiki | |
- name: Install pandoc | |
run: choco install -y pandoc | |
# - name: Install TeX Live | |
# run: sudo apt-get install -y texlive-xetex | |
- name: Convert Markdown to PDF | |
run: pandoc wiki/Home.md -o output.pdf #--pdf-engine=xelatex |