Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: refactor into one workflow file #321

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

dabao1955
Copy link
Contributor

No description provided.

@MakinoharaShoko
Copy link
Member

修改后的 ci 能够在 release 时获取到 tag 吗?手动触发时,${{ github.ref }} 会获取到怎样的信息?

@dabao1955 dabao1955 changed the title ci: refactor info one workflow file ci: refactor into one workflow file Oct 25, 2024
@dabao1955
Copy link
Contributor Author

修改后的 ci 能够在 release 时获取到 tag 吗?手动触发时,${{ github.ref }} 会获取到怎样的信息?

理论上来说手动触发时 ${{ github.ref }} 应该为空,push时应该能获取到分支版本

@dabao1955
Copy link
Contributor Author

修改后的 ci 能够在 release 时获取到 tag 吗?手动触发时,${{ github.ref }} 会获取到怎样的信息?

理论上来说手动触发时 ${{ github.ref }} 应该为空,push时应该能获取到分支版本

实际试了一下手动触发时为refs/heads/main,push带tag推送为refs/tags/x.x.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants