ci: 补充后端 Rust 与导出字体环境
This commit is contained in:
@@ -7,6 +7,9 @@ on:
|
|||||||
branches: [main, "feat/**", "fix/**", "chore/**"]
|
branches: [main, "feat/**", "fix/**", "chore/**"]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
APP_EXPORT_FONT: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs-check:
|
docs-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -19,6 +22,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: 安装 Rust 工具链
|
||||||
|
run: |
|
||||||
|
curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal
|
||||||
|
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||||
- name: 安装 uv
|
- name: 安装 uv
|
||||||
run: |
|
run: |
|
||||||
curl -LsSf https://astral.sh/uv/0.9.24/install.sh | sh
|
curl -LsSf https://astral.sh/uv/0.9.24/install.sh | sh
|
||||||
|
|||||||
Reference in New Issue
Block a user