Release for v0.0.14 (#39) #104
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 LaTeX document | |
on: [push, pull_request] | |
jobs: | |
build_latex: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Compile LaTeX document | |
uses: xu-cheng/latex-action@v3 | |
with: | |
working_directory: src/dacs-sw/control-station-installation/ | |
root_file: main.tex | |
work_in_root_file_dir: true | |
- name: Compile LaTeX template document | |
uses: xu-cheng/latex-action@v3 | |
with: | |
working_directory: src/dacs-sw/template/ | |
root_file: main.tex | |
work_in_root_file_dir: true | |
- name: Rename files and move to single release folder | |
run: | | |
mkdir release | |
mv src/dacs-sw/control-station-installation/main.pdf release/sw-control-station-installation.pdf | |
mv src/dacs-sw/template/main.pdf release/template.pdf | |
- name: Upload PDF file | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts | |
path: release/* |