Added the rest of the document #26
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: Compile LaTeX and Create Release | |
on: | |
push: | |
tags: | |
- 'v*' # Trigger the workflow on push of tags like v1.0.0 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install LaTeX | |
run: | | |
sudo apt-get update | |
sudo apt-get install texlive-full | |
- name: Compile LaTeX document | |
run: | | |
xelatex OmniView.tex | |
makeglossaries OmniView | |
xelatex OmniView.tex | |
- name: Upload PDF as Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Compiled-PDF | |
path: OmniView.pdf | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: OmniView.pdf | |
draft: false | |
prerelease: false | |
token: ${{ secrets.GITHUB_TOKEN }} |