Skip to content

Build tex version

Build tex version #7

Workflow file for this run

# Validate the file using e.g.
# https://rhysd.github.io/actionlint/
name: Build tex version
on:
push:
branches: [ main ]
paths:
- 'md_version/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pandoc ⚙️
run: |
wget https://github.com/jgm/pandoc/releases/download/3.5/pandoc-3.5-1-amd64.deb
sudo dpkg -i pandoc-3.5-1-amd64.deb
- name: Build 🏗️
run: |
cd ${{ github.workspace }}/md_version/
make tex
cd ../
zip -r tex_version.zip tex_version
zip -r md_version.zip md_version
cd tex_version/
latexmk -pdf -xelatex main.tex
- name: Create package 🎁
uses: crowbarmaster/GH-Automatic-Releases@latest
with:
automatic_release_tag: "latest"
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
draft: false
files: tex_version.zip