From cc2e9c637ac677782f99e09bb382ff3f3eebd67b Mon Sep 17 00:00:00 2001 From: CPunch Date: Tue, 5 Jul 2022 15:26:58 -0500 Subject: [PATCH] Added workflow to build resume automagically --- .github/workflows/create-resume.yaml | 25 +++++++++++++++++++++++++ README.md | 8 +++++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/create-resume.yaml diff --git a/.github/workflows/create-resume.yaml b/.github/workflows/create-resume.yaml new file mode 100644 index 0000000..962039d --- /dev/null +++ b/.github/workflows/create-resume.yaml @@ -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 }} diff --git a/README.md b/README.md index 1d20d65..fe61835 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,13 @@ +# CPunch's resume + This resume assumes a full installation of a LaTex environment. Compile and build my resume with the following command: ```sh xelatex resume.tex -``` \ No newline at end of file +``` + +# Release builds + +Each push causes a github action to build & release a copy of my resume on the [releases](/releases) page. \ No newline at end of file