Skip to content

Commit

Permalink
Update python-package-conda.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
a2253550432 authored Sep 1, 2024
1 parent 98712a8 commit 9f75f0b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,19 @@ jobs:
# 运行 Python 脚本
- name: Run conversion.py
run: python conversion.py


# 创建一个 Git 标签和 Release
- name: Create Release
id: create_release
uses: actions/create-release@v1
with:
tag_name: v1.0.${{ github.run_number }} # 根据运行次数动态生成标签
release_name: "Release v1.0.${{ github.run_number }}"
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# 上传生成的文件到 GitHub Release
- name: Upload to GitHub Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 9f75f0b

Please sign in to comment.