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

body 和 body-path到底要怎么写?看不懂。有没有可用的例子? #70

Closed
theores opened this issue Dec 28, 2020 · 3 comments

Comments

@theores
Copy link

theores commented Dec 28, 2020

如题,
body 和 body-path到底要怎么写?看不懂。有没有可用的例子?

@mossheim
Copy link

mossheim commented Feb 27, 2021

以为body这个是文本,body-path却是文本文件路径:

body: "应用描述"
body_path: 某文件.txt

如果你这两都用,会先试图用body_path。

https://github.com/softprops/action-gh-release#inputs

@yin1999
Copy link
Contributor

yin1999 commented Mar 20, 2021

以为body这个是文本,body-path却是文本文件路径:

body: "应用描述"
body_path: 某文件.txt

如果你这两都用,会先试图用body_path。

https://github.com/softprops/action-gh-release#inputs

Due to this issue #71 , the actual behavior is reading body first then falling to read the body_path.
I have created the pull request #85 to fix it.

translation:
因为以下议题 #71,实际的表现是先读取body,如果失败,才会尝试读取body_path
我已提交拉去请求,等待维护人员合并。

@softprops
Copy link
Owner

I believe this has since been fixed in the now included pr mentioned above

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

No branches or pull requests

4 participants