Skip to content

update GitHub Action #29

update GitHub Action

update GitHub Action #29

Workflow file for this run

name: Deploy CV
on:
push:
branches: main
tags:
- v*
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Working directory check
run: |
pwd
ls
- name: Install Pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Install XeLaTeX
run: sudo apt-get install -y texlive-xetex
- name: Download lua-filter
run: wget https://raw.githubusercontent.com/pandoc-ext/multibib/main/_extensions/multibib/multibib.lua
- name: Download and install mainfont
run: |
wget -O Junicode.zip https://github.com/psb1558/Junicode-font/releases/download/v2.209/Junicode_2.209.zip
unzip Junicode.zip
mv Junicode/ /usr/share/fonts
fc-cache -fv
- name: Verify dependencies
run: |
pandoc --version
xetex --version
ls multibib.lua
- name: Build
run: bash build.sh
- name: Check for Resulting PDF
run: |
ls cornelius-cv.pdf
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
cornelius-cv.pdf