add begining indentation #1
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 Make Release on Tag | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Compile LaTeX | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: main.tex | |
pre_compile: "tlmgr update --self && tlmgr update --all" | |
post_compile: "latexmk -c" | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: main.pdf | |
tag_name: ${{ github.ref }} | |
name: ${{ github.ref_name }} | |
body: Auto-generated release for tag ${{ github.ref_name }} | |
draft: false | |
prerelease: false |