Răsfoiți Sursa

Merge branch 'master' into release-1.3.2

Xiaomeng Zhao 7 luni în urmă
părinte
comite
b3ac3ac148
3 a modificat fișierele cu 19 adăugiri și 2 ștergeri
  1. 17 1
      .github/workflows/python-package.yml
  2. 1 0
      README_zh-CN.md
  3. 1 1
      magic_pdf/libs/version.py

+ 17 - 1
.github/workflows/python-package.yml

@@ -54,7 +54,7 @@ jobs:
         run: |
           git push origin HEAD:master
 
-  build:
+  check-install:
     needs: [ update-version ]
     runs-on: ubuntu-latest
     strategy:
@@ -84,6 +84,22 @@ jobs:
         python -m pip install --upgrade pip
         pip install -e .[full]
 
+  build:
+    needs: [ check-install ]
+    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        python-version: [ "3.10"]
+
+    steps:
+
+    - name: Checkout code
+      uses: actions/checkout@v4
+      with:
+        ref: master
+        fetch-depth: 0
+
     - name: Install wheel
       run: |
         python -m pip install wheel

+ 1 - 0
README_zh-CN.md

@@ -47,6 +47,7 @@
 </div>
 
 # 更新记录
+
 - 2025/04/08 1.3.2 发布,修复了一些兼容问题
   - 支持python 3.13
   - 解决因`transformers 4.51.0` 导致的报错

+ 1 - 1
magic_pdf/libs/version.py

@@ -1 +1 @@
-__version__ = "1.3.0"
+__version__ = "1.3.1"