Skip to content

add begining indentation #1

add begining indentation

add begining indentation #1

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