Skip to content

upgrade actions

upgrade actions #21

name: Generate Resume PDFs
on: [push]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: 1.22.0
- name: Install resume-exporter
run: go install github.com/kylegrantlucas/resume-exporter@latest
- name: Checkout repository
uses: actions/checkout@v4
- name: generate resume
run: make
- name: Artifact resumes to check
uses: actions/upload-artifact@v4
with:
name: resumes
path: output/*.pdf
- name: Release resumes
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
output/kyle_classic.pdf
output/kyle_modern.pdf
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: kylegrantlucas/kylelucas.io
event-type: resume-generated
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'