Skip to content

Release

Release #21

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Release
# Controls when the workflow will run
on:
push:
paths:
- "**.tex"
- "**.ttf"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: LaTeX compilation
uses: dante-ev/latex-action@2021-A
with:
# The root LaTeX file to be compiled
root_file: cv.tex
# LaTeX engine to be used
compiler: xelatex
- uses: actions/upload-artifact@v2
with:
name: cv
path: cv.pdf
release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs: build
steps:
- uses: actions/download-artifact@v2
with:
name: cv
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
cv.pdf