29 lines
662 B
YAML
29 lines
662 B
YAML
|
on:
|
||
|
push:
|
||
|
pull_request:
|
||
|
workflow_run:
|
||
|
|
||
|
name: Build and deploy
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
permissions:
|
||
|
contents: write
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
|
||
|
- name: Download Tectonic
|
||
|
run:
|
||
|
wget "https://github.com/tectonic-typesetting/tectonic/releases/download/tectonic%400.15.0/tectonic-0.15.0-x86_64-unknown-linux-musl.tar.gz" &&
|
||
|
tar -xf "tectonic-0.15.0-x86_64-unknown-linux-musl.tar.gz"
|
||
|
|
||
|
- name: Build LaTeX handouts
|
||
|
run: bash build.sh
|
||
|
|
||
|
- uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: output
|
||
|
path: "output/*"
|
||
|
retention-days: 10
|