Skip to content

Commit

Permalink
ci: Add config for release action
Browse files Browse the repository at this point in the history
Compiles LaTeX document and uploads it to releases
  • Loading branch information
gteufelberger committed May 3, 2024
1 parent 63e5e06 commit 0f01eb9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
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

0 comments on commit 0f01eb9

Please sign in to comment.