-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compiles LaTeX document and uploads it to releases
- Loading branch information
1 parent
63e5e06
commit 0f01eb9
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: "Make release" | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
permissions: | ||
contents: write # Needed to write to GitHub draft release | ||
|
||
jobs: | ||
build_and_release: | ||
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: Make release with PDFs | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
name: artifacts | ||
path: src/dacs-sw/control-station-installation/main.pdf |