build action
This commit is contained in:
parent
b3652c45b1
commit
ce0b06e58e
28
.github/workflows/build.yml
vendored
Normal file
28
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user