Skip to content

feat: live rendering on vscode IDE #52

feat: live rendering on vscode IDE

feat: live rendering on vscode IDE #52

Workflow file for this run

name: LateX CV to PDF
on:
push:
branches:
- master
- develop
tags:
- '*'
pull_request:
branches: [ master ]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: latex2pdf
id: compile-latex-document
uses: thomas-chauvet/latex2pdf-action@1.0.4
with:
output_dir: cv
main_latex_file: cv.tex
ctan_packages: moderncv academicons arydshln luatexbase multirow fontawesome5 xargs bigfoot colortbl pgf
- name: Upload CV in PDF to the workflow tab
id: upload-workflow-tab
uses: actions/upload-artifact@v2
with:
name: cv
path: cv/cv.pdf
- name: Create Release
id: create_release
if: startsWith(github.ref, 'refs/tags/')
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release CV
id: upload-release-asset
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: cv/cv.pdf
asset_name: cv.pdf
asset_content_type: application/pdf