chore: bump xu-cheng/latex-action from 2 to 3 (#9) #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
build-document: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout this repository | |
uses: actions/checkout@v3 | |
- name: Compile document in LaTeX | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: main.tex | |
- name: Rename document | |
run: mv main.pdf buku-kp.pdf | |
- name: Upload document as an artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: document | |
path: buku-kp.pdf |