CV/.forgejo/workflows/release.yaml

33 lines
705 B
YAML
Raw Normal View History

2023-12-29 11:09:59 +00:00
name: release
on:
push:
tags:
- '*'
jobs:
2024-01-18 02:27:19 +00:00
generate:
2023-12-29 11:09:59 +00:00
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
2024-01-18 02:27:19 +00:00
release:
runs-on: docker
steps:
2024-01-18 15:55:17 +00:00
- name: Create release
uses: https://gitea.com/actions/release-action@main
with:
files: |-
cv.pdf
api_key: '${{secrets.RELEASE_TOKEN}}'