github ci build

Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
方而静 2025-07-06 23:46:36 +08:00
parent e3a8cfceb5
commit 4c40be2eaf
Signed by: szTom
GPG Key ID: 072D999D60C6473C

23
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,23 @@
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python3
uses: actions/setup-python@v5.4.0
- name: Build PDF
run: |
pip install -r requirements.txt
python3 make.py
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Output
path: 'main.pdf'