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
20278040
Commit
20278040
authored
Jun 04, 2024
by
赵小蒙
Browse files
fix error
parent
9d0b4e95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
.github/workflows/python-package.yml
.github/workflows/python-package.yml
+6
-3
No files found.
.github/workflows/python-package.yml
View file @
20278040
...
...
@@ -18,6 +18,9 @@ jobs:
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v4
with
:
ref
:
master
# 确保签出 master 分支
fetch-depth
:
0
# 确保获取完整的 git 历史记录
-
name
:
Set up Python
uses
:
actions/setup-python@v5
...
...
@@ -42,14 +45,14 @@ jobs:
echo "No changes to commit"
else
git commit -m "Update version.py with new version"
fi
id
:
commit_changes
-
name
:
Push changes
if
:
always()
# 确保始终运行此步骤
if
:
steps.commit_changes.outcome == 'success'
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
run
:
|
git push origin master
git push origin
HEAD:
master
build
:
runs-on
:
ubuntu-latest
...
...
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