Remove Building section from README #13
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 LaTeX Resume | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Compile Resume LaTeX document | |
| uses: xu-cheng/latex-action@v3 | |
| with: | |
| root_file: andrew_joros_resume.tex | |
| - name: Compile Biosketch LaTeX document | |
| uses: xu-cheng/latex-action@v3 | |
| with: | |
| root_file: andrew_joros_biosketch.tex | |
| - name: Upload Resume PDF artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: andrew_joros_resume | |
| path: andrew_joros_resume.pdf | |
| - name: Upload Biosketch PDF artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: andrew_joros_biosketch | |
| path: andrew_joros_biosketch.pdf | |
| - name: Commit PDFs to repository | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
| run: | | |
| git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
| git config --local user.name "github-actions[bot]" | |
| git add -f andrew_joros_resume.pdf andrew_joros_biosketch.pdf | |
| git diff --staged --quiet || git commit -m "Update compiled PDFs [skip ci]" | |
| git push |