From 883fa90c5c0245c2ab408edfc1417e5d644b8c1f Mon Sep 17 00:00:00 2001 From: Tifa <62847935+Tiphereth-A@users.noreply.github.com> Date: Sat, 21 Oct 2023 05:10:33 +0800 Subject: [PATCH] ci: fix --- .github/workflows/release.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d35194d..4498e50 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,10 @@ jobs: if: startsWith(github.ref, 'refs/tags/') steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + cache: 'pip' - name: Build the LaTeX document uses: xu-cheng/latex-action@v2 with: @@ -16,13 +20,16 @@ jobs: latexmk_shell_escape: true args: "-pdf -file-line-error -halt-on-error -interaction=nonstopmode -8bit" pre_compile: | - wget -q -O fira.zip "https://github.com/mozilla/Fira/archive/refs/tags/4.106.zip" - wget -q -O firacode.zip "https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip" - unzip -q firacode.zip -d firacode - unzip -q fira.zip -d fira + wget -v -O fira.zip "https://github.com/mozilla/Fira/archive/refs/tags/4.106.zip" + wget -v -O firacode.zip "https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip" + unzip -v firacode.zip -d firacode + unzip -v fira.zip -d fira cp -r firacode /usr/share/fonts cp -r fira /usr/share/fonts fc-cache -f + pip install -r requirements.txt + python manager.py -L debug gen-cs + python manager.py -L debug gen-nb root_file: notebook.tex - name: Create Release uses: svenstaro/upload-release-action@v2