28 lines
595 B
YAML
28 lines
595 B
YAML
name: release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
generate:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Set up Git repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Update packages
|
|
run: apt update
|
|
|
|
- name: Install tex
|
|
run: apt update && export DEBIAN_FRONTEND=noninteractive && apt install texlive texlive-xetex texlive-fonts-extra texlive-luatex -y
|
|
|
|
- name: Compile document
|
|
run: lualatex --output-format=pdf cv
|
|
|
|
release:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Create release based on tag
|
|
uses: actions/forgejo-release@v1
|