Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
d2380d5a
Commit
d2380d5a
authored
Mar 01, 2024
by
赵小蒙
Browse files
更新release配置
parent
ec51cd8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
.github/workflows/python-package.yml
.github/workflows/python-package.yml
+20
-0
setup.py
setup.py
+1
-1
No files found.
.github/workflows/python-package.yml
View file @
d2380d5a
...
...
@@ -43,3 +43,23 @@ jobs:
path
:
dist/*.whl
retention-days
:
30
release
:
needs
:
[
build
]
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v4
-
name
:
Download artifact
uses
:
actions/download-artifact@v4
with
:
name
:
wheel-file
path
:
dist
-
name
:
Create and Upload Release
id
:
create_release
uses
:
softprops/action-gh-release@v1
with
:
files
:
'
./dist/*.whl'
env
:
GITHUB_TOKEN
:
${{ secrets.RELEASE_TOKEN }}
\ No newline at end of file
setup.py
View file @
d2380d5a
...
...
@@ -20,7 +20,7 @@ requires = parse_requirements('requirements.txt')
setup
(
name
=
"magic_pdf"
,
# 项目名
version
=
"0.1.
0
"
,
# 版本号
version
=
"0.1.
1
"
,
# 版本号
packages
=
find_packages
(),
# 包含所有的包
install_requires
=
requires
,
# 项目依赖的第三方库
python_requires
=
">=3.9"
,
# 项目依赖的 Python 版本
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment