Skip to content

Merge pull request #2 from ntrp/renovate/actions-checkout-4.x #16

Merge pull request #2 from ntrp/renovate/actions-checkout-4.x

Merge pull request #2 from ntrp/renovate/actions-checkout-4.x #16

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
# 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@v4
- 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@v3
with:
name: cv
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
cv.pdf