Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidham3 committed Dec 21, 2024
1 parent 771da2b commit 5bffdc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels_for_vtag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git checkout -b ${{ steps.branch-name.outputs.branch }} || git checkout ${{ steps.branch-name.outputs.branch }}
git checkout -b ${{ github.ref_name }} || git checkout ${{ github.ref_name }}
# 复制文档
rm -rf * # 清空当前分支内容
Expand All @@ -109,7 +109,7 @@ jobs:
# 提交更改
git add .
git commit -m "Update documentation from source repository" || echo "No changes to commit"
git push origin ${{ steps.branch-name.outputs.branch }}
git push origin ${{ github.ref_name }}
cd ..
- name: Build SDist
Expand Down

0 comments on commit 5bffdc6

Please sign in to comment.