fix workflow and rm pdf
All checks were successful
Build Typst document / build_typst_documents (push) Successful in 10s
All checks were successful
Build Typst document / build_typst_documents (push) Successful in 10s
This commit is contained in:
parent
bcbb9bb9de
commit
bb8436339a
32
.github/workflows/build.yml
vendored
32
.github/workflows/build.yml
vendored
@ -1,32 +0,0 @@
|
|||||||
name: Build LaTeX Document
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
# Checkout the repository containing the LaTeX files
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
# Install LaTeX dependencies manually (TexLive and BibTeX)
|
|
||||||
- name: Install LaTeX
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y texlive-full biber latexmk
|
|
||||||
|
|
||||||
# Compile the LaTeX document (first pass)
|
|
||||||
- name: Compile LaTeX (first pass)
|
|
||||||
run: |
|
|
||||||
cd src
|
|
||||||
latexmk -pdf -bibtex -interaction=nonstopmode main.tex
|
|
||||||
|
|
||||||
# Upload the compiled PDF as an artifact
|
|
||||||
- name: Upload PDF
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: compiled-latex
|
|
||||||
path: src/main.pdf
|
|
4
.github/workflows/buildtypst.yml
vendored
4
.github/workflows/buildtypst.yml
vendored
@ -10,9 +10,9 @@ jobs:
|
|||||||
- name: Typst
|
- name: Typst
|
||||||
uses: lvignoli/typst-action@main
|
uses: lvignoli/typst-action@main
|
||||||
with:
|
with:
|
||||||
source_file: typstalt/main.typ
|
source_file: main.typ
|
||||||
- name: Upload PDF file
|
- name: Upload PDF file
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: PDF
|
name: PDF
|
||||||
path: typstalt/main.pdf
|
path: main.pdf
|
||||||
|
Loading…
Reference in New Issue
Block a user