build shoecomp manual #7
Workflow file for this run
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 shoecomp manual | |
on: | |
workflow_dispatch: | |
release: | |
types: [created] | |
create: | |
tags: | |
- v.* | |
jobs: | |
build_manual: | |
name: compile shoecomp TeX manual | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
id: checkout_repo | |
uses: actions/checkout@v4 | |
- name: Compile LaTeX document | |
uses: xu-cheng/latex-action@v3 | |
with: | |
working_directory: ./manual/ | |
latexmk_shell_escape: true | |
root_file: main.tex | |
- name: rename manual | |
run: cp ./manual/main.pdf ./ShoeComp-User-Guide.pdf | |
- name: upload manual to github | |
id: upload_manual | |
uses: softprops/action-gh-release@v2 | |
with: | |
fail_on_unmatched_files: true | |
prerelease: true | |
files: ShoeComp-User-Guide.pdf |