mirror of
https://github.com/moesoha/debian-media-box.git
synced 2025-07-13 04:42:14 +08:00
27 lines
674 B
YAML
27 lines
674 B
YAML
name: Compile & Publish
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
instruction-latex:
|
|
runs-on: ubuntu-latest
|
|
name: Compile instruction PDF
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: compile
|
|
uses: dante-ev/latex-action@2024-B
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
root_file: 'instruction.tex'
|
|
compiler: xelatex
|
|
- name: upload PDF
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: instruction.pdf
|
|
path: instruction.pdf
|