1
0
mirror of https://github.com/CPunch/resume.git synced 2024-11-22 11:50:04 +00:00

Added workflow to build resume automagically

This commit is contained in:
CPunch 2022-07-05 15:26:58 -05:00
parent 8aedc70e74
commit cc2e9c637a
2 changed files with 32 additions and 1 deletions

25
.github/workflows/create-resume.yaml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Check Builds
on:
push:
paths:
- resume/*
- resume.tex
- awesome-cv.tex
jobs:
build-resume:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: resume.tex
latexmk_use_xelatex: true
- name: Make Release
uses: softprops/action-gh-release@v1
with:
files: resume.pdf
body: Automated build for ${{ github.head_ref }}.${{ github.sha }}

View File

@ -1,7 +1,13 @@
# CPunch's resume
This resume assumes a full installation of a LaTex environment. This resume assumes a full installation of a LaTex environment.
Compile and build my resume with the following command: Compile and build my resume with the following command:
```sh ```sh
xelatex resume.tex xelatex resume.tex
``` ```
# Release builds
Each push causes a github action to build & release a copy of my resume on the [releases](/releases) page.