aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2024-03-13 16:16:02 +0800
committerAaron LI <aly@aaronly.me>2024-03-13 16:16:02 +0800
commitddee28d21260bafee2ca9e776fb63ef07f1da5b8 (patch)
treef505aa532b6592d2ecbef1707e1ada03b504f390 /.github
parent633dddf40bd3cd733f1c1ba93769aac562dc0985 (diff)
downloadresume-ddee28d21260bafee2ca9e776fb63ef07f1da5b8.tar.bz2
github: Update the main workflowHEADmaster
- No need to install the 'texlive-plain-generic' package after removing the 'ulem' package. - Use 'apt-get' instead of 'apt' because the former is more suitable for non-interactive usage. - Ignore certificate check in wget to avoid possible outdated root CA bundle.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index fdf7a23..afbe1fb 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -13,21 +13,21 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install deps
- # texlive-plain-generic -> ulem.sty
- # texlive-lang-chinese -> ctex*
+ # texlive-lang-cjk -> xeCJK.sty
+ # texlive-lang-chinese -> ctexhook.sty
# texlive-fonts-recommended -> pzdr.tfm (required by mktextfm pzdr)
run: |
- sudo apt update
- sudo apt install --no-install-recommends make ghostscript
- sudo apt install --no-install-recommends fonts-ibm-plex fonts-noto-cjk
- sudo apt install --no-install-recommends latexmk texlive-xetex
- sudo apt install --no-install-recommends texlive-plain-generic texlive-lang-chinese texlive-fonts-recommended
+ sudo apt-get update
+ sudo apt-get install -y --no-install-recommends make ghostscript
+ sudo apt-get install -y --no-install-recommends latexmk texlive-xetex
+ sudo apt-get install -y --no-install-recommends texlive-lang-cjk texlive-lang-chinese
+ sudo apt-get install -y --no-install-recommends fonts-ibm-plex fonts-noto-cjk texlive-fonts-recommended
- name: install fontawesome5
# the shipped texlive is 2021 and is older than the remote (currently 2023),
# so need to manually download the package and install it.
run: |
- sudo apt install --no-install-recommends wget xz-utils
- wget https://mirror.ctan.org/systems/texlive/tlnet/archive/fontawesome5.tar.xz
+ sudo apt-get install -y --no-install-recommends wget xz-utils
+ wget --no-check-certificate https://mirror.ctan.org/systems/texlive/tlnet/archive/fontawesome5.tar.xz
tlmgr --usermode init-usertree
tlmgr --usermode install --file fontawesome5.tar.xz
- name: build pdfs