如何指定工作流程应使用当前版本,而GitHub操作中的n个先前版本?
我正在使用GitHub操作运行一些工作流,这些操作需要使用节点。我不必要在矩阵中包含的数字版本进行编码,而是要使用最新版本和3个以前的版本,我希望使用类似版本。
这样可以确保我不需要更新具有新版本的版本矩阵,并且可以确认在此之前始终支持当前版本和3个先前版本的要求。
但是找不到这种方式指定版本的方法。知道是否可以吗?如果是这样,怎么样?
I am running some workflows using github actions, that requires using node. Instead of having to hardcode the numeric versions I want to include in the matrix, I would prefer if I could specify something like, use the latest version and 3 previous versions.
This ensures I do not need to update the version matrix with new releases and I can confirm to the requirement to always support the current version and 3 previous versions before that.
But could not find a way to specify the version this way. Any idea if this is possible? If so, how?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论