Bump major versions for actions/checkout and actions/upload-artifact #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build CV | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
release_cv: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v4 | |
- name: Compile CV | |
uses: xu-cheng/latex-action@master | |
with: | |
root_file: cv_EnriqueKesslerMartínez.tex | |
- name: Check pdf file | |
run: | | |
file cv_EnriqueKesslerMartínez.pdf | grep -q ' PDF ' | |
- name: Create and upload release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: cv_EnriqueKesslerMartínez.pdf | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload to virtual env | |
uses: actions/upload-artifact@v4 | |
with: | |
name: cv | |
path: cv_EnriqueKesslerMartínez.pdf |