Merge pull request #3 from minsusun/fix/links #22
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: CI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
job: | |
permissions: | |
contents: write | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref_name }} | |
- name: Install Fonts | |
run: | | |
sudo apt-get update | |
sudo apt-get install fonts-noto-cjk fonts-noto-cjk-extra | |
- name: Install Tectonic | |
run: | | |
# Need to setup tectonic with `uses statement` | |
curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net | sh | |
- name: Compile Latex | |
run: | | |
./tectonic main.tex | |
- name: Rename Compiled PDF | |
run: | | |
mv main.pdf "CV - Minsu Sun(eng).pdf" | |
- name: Upload Compiled PDF | |
run: | | |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
git add *.pdf | |
git commit -m "Add compiled PDF" | |
git push origin ${{ github.ref_name }} |