move resume workflow entirely to nix
This commit is contained in:
6
.github/workflows/build-resume.yaml
vendored
6
.github/workflows/build-resume.yaml
vendored
@@ -22,19 +22,19 @@ jobs:
|
||||
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||
|
||||
- name: Build PDF
|
||||
run: nix develop --command latexmk -pdf main.tex && mv main.pdf Alice_Huston_Resume_Software_Engineer.pdf
|
||||
run: nix build .#default
|
||||
|
||||
- name: Upload PDF artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: resume-pdf
|
||||
path: Alice_Huston_Resume_Software_Engineer.pdf
|
||||
path: result/Alice_Huston_Resume_Software_Engineer.pdf
|
||||
|
||||
- name: Create Release
|
||||
if: success()
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: Alice_Huston_Resume_Software_Engineer.pdf
|
||||
files: result/Alice_Huston_Resume_Software_Engineer.pdf
|
||||
tag_name: resume-${{ github.run_number }}
|
||||
body: "Resume PDF built from commit ${{ github.sha }}"
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user