Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

small formating change #22

small formating change

small formating change #22

Workflow file for this run

name: Build LaTeX document
on:
push:
tags:
- "v*"
jobs:
build_latex:
runs-on: ubuntu-latest
container:
image: texlive/texlive:latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git config --system --add safe.directory /__w/thesis/thesis
- name: Get previous tag name
id: previous_tag
env:
ref: ${{ github.ref }}
run: |
output=$(python3 .github/git_tag.py ${ref})
echo "TAGNAME=$output" >> $GITHUB_OUTPUT
- name: compile
env:
tag: ${{ steps.previous_tag.outputs.TAGNAME }}
ref: ${{ github.ref }}
run: |
bash ${GITHUB_WORKSPACE}/.github/compile.sh ${ref} ${tag}
- name: upload compiled document
uses: softprops/action-gh-release@v1
with:
files: |
build/*.pdf