CV/.forgejo/workflows/release.yaml
Oscar Blue 0df542d87c
Some checks failed
/ build (push) Successful in 2m9s
release / generate (push) Successful in 2m13s
release / release (push) Failing after 6s
Using gitea release action
2024-01-18 15:55:17 +00:00

32 lines
705 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
uses: https://gitea.com/actions/release-action@main
with:
files: |-
cv.pdf
api_key: '${{secrets.RELEASE_TOKEN}}'