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

fix: action run async #79

Merged
merged 5 commits into from Aug 13, 2021
Merged

fix: action run async #79

merged 5 commits into from Aug 13, 2021

Conversation

xrkffgg
Copy link
Member

@xrkffgg xrkffgg commented Aug 12, 2021

🤔 这个变动的性质是?/ What is the nature of this change?

  • 新特性提交 / New feature
  • bug 修复 / Fix bug
  • 样式优化 / Style optimization
  • 代码风格优化 / Code style optimization
  • 性能优化 / Performance optimization
  • 构建优化 / Build optimization
  • 网站、文档、Demo 改进 / Website, documentation, demo improvements
  • 重构代码或样式 / Refactor code or style
  • 测试相关 / Test related
  • 其他 / Other

🔗 相关 Issue / Related Issue

fix #78

💡 需求背景和解决方案 / Background or solution

保持 action 同步执行。

📝 更新日志 / Changelog

Language Changelog
🇨🇳 Chinese 修复 action 运行异步问题。

@github-actions
Copy link

github-actions bot commented Aug 12, 2021

🎊 PR Preview has been successfully built and deployed to https://issues-helper-preview-pr-79.surge.sh

src/main.js Outdated Show resolved Hide resolved
@meteorlxy
Copy link
Member

Should we provide an extra option for running in parallel or serially?

@xrkffgg
Copy link
Member Author

xrkffgg commented Aug 12, 2021

Should we provide an extra option for running in parallel or serially?

serially

xrkffgg and others added 2 commits August 13, 2021 09:55
Co-authored-by: meteorlxy <meteor.lxy@foxmail.com>
src/main.js Outdated Show resolved Hide resolved
src/main.js Outdated
if (ALLACTIONS.includes(action)) {
choseActions(action);
await choseActions(action);
} else {
core.setFailed('This actions not supported!');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
core.setFailed('This actions not supported!');
core.setFailed(`Action '${action}' is not supported!`);

感觉可以顺便改一下 hhh

@Amour1688 Amour1688 merged commit b395ad4 into main Aug 13, 2021
@Amour1688 Amour1688 deleted the fix-time branch August 13, 2021 04:58
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.

[Question] Is it possible to keep the order of multiple actions in one step ?
3 participants