Browse Source

update workflow

赵小蒙 1 năm trước cách đây
mục cha
commit
595517054b
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 2 1
      .github/workflows/python-package.yml
  2. 1 1
      magic_pdf/libs/version.py

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

@@ -18,6 +18,7 @@ jobs:
       - name: Checkout repository
         uses: actions/checkout@v4
         with:
+          refs: master
           fetch-depth: 0
 
       - name: Set up Python
@@ -51,7 +52,7 @@ jobs:
         env:
           GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
         run: |
-          git push origin main
+          git push origin HEAD:master
 #          git remote set-url origin https://myhloli:${{ secrets.RELEASE_TOKEN }}@github.com/magicpdf/Magic-PDF.git
 #          git checkout -b update-version-branch || git checkout update-version-branch
 #          git push --set-upstream origin update-version-branch

+ 1 - 1
magic_pdf/libs/version.py

@@ -1 +1 @@
-__version__ = "0.0.10"
+__version__ = "0.0.11"