Update upload-artifacts version due to old version deprecation #115
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: CatInCosmicSpace/latex-template/actions/miktex@master | |
- name: Compile full example | |
run: | | |
initexmf --register-root $PWD | |
cd ./full-example | |
latexmk -pdf main.tex | |
- name: Clean after build full example | |
run: | | |
cd ./full-example | |
latexmk -c ./main.tex | |
- name: "Git artifact: PDF" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: PDF | |
path: | | |
./full-example/main.pdf |