Change Fonts Config (#1) #19
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 and Commit PDF | |
on: [push] | |
jobs: | |
build: | |
name: Build PDF | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install fonts | |
run: sudo apt-get install -y fonts-noto-cjk fonts-noto-cjk-extra | |
- uses: typst-community/setup-typst@v3 | |
id: setup-typst | |
- name: Build PDF | |
run: make all | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: resume-pdf | |
path: | | |
个人简历.pdf | |
Resume.pdf | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |