This commit is contained in:
parent
a6358b211f
commit
626189f72b
1 changed files with 28 additions and 0 deletions
28
.forgejo/workflows/release.yaml
Normal file
28
.forgejo/workflows/release.yaml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
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
|
||||||
|
|
||||||
|
- name: Create release
|
||||||
|
uses: actions/release-action@main
|
||||||
|
with:
|
||||||
|
files: |-
|
||||||
|
cv.pdf
|
Loading…
Reference in a new issue