Repository navigation
resolved errors in bibiliography fetch scripts and improved author ma… #20
This file contains hidden or 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 Awesome-CV | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build_cv: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Compile CV | |
| uses: xu-cheng/latex-action@v3 | |
| with: | |
| root_file: cv.tex | |
| compiler: xelatex | |
| args: "-pdf -interaction=nonstopmode -halt-on-error" | |
| - name: Compile Resume | |
| uses: xu-cheng/latex-action@v3 | |
| with: | |
| root_file: resume.tex | |
| compiler: xelatex | |
| args: "-pdf -interaction=nonstopmode -halt-on-error" | |
| - name: Release PDFs | |
| uses: softprops/action-gh-release@v2 | |
| if: github.ref == 'refs/heads/main' | |
| with: | |
| tag_name: latest | |
| files: | | |
| cv.pdf | |
| resume.pdf | |
| body: "Automatically generated PDFs from the latest commit." | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |