upload build artifacts and latex action only on workflow dispatch
All checks were successful
Build Typst document / build_typst_documents (push) Successful in 8s
All checks were successful
Build Typst document / build_typst_documents (push) Successful in 8s
This commit is contained in:
parent
2663f1814b
commit
815e3b582a
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -1,10 +1,7 @@
|
|||||||
name: Build LaTeX Document
|
name: Build LaTeX Document
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
branches:
|
|
||||||
- master # This will run the action when you push to the main branch
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
5
.github/workflows/buildtypst.yml
vendored
5
.github/workflows/buildtypst.yml
vendored
@ -11,3 +11,8 @@ jobs:
|
|||||||
uses: lvignoli/typst-action@main
|
uses: lvignoli/typst-action@main
|
||||||
with:
|
with:
|
||||||
source_file: typstalt/main.typ
|
source_file: typstalt/main.typ
|
||||||
|
- name: Upload PDF file
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: PDF
|
||||||
|
path: typstalt/main.pdf
|
||||||
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.pdf
|
Loading…
Reference in New Issue
Block a user