【问题标题】:How to group multiple workflows in github actions?如何在 github 操作中对多个工作流进行分组?
【发布时间】:2022-08-14 23:24:31
【问题描述】:

Like \"Build\" in this image

我希望并行运行工作流程,当所有工作完成后开始下一个工作流程。

    标签: github-actions


    【解决方案1】:

    您可以使用矩阵:

    https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs

    它将创建具有所需参数的并行作业。

    然后它将在您的工作流程中运行下一个steps

    如果您真的想触发不同的工作流程,您可以使用: https://github.com/marketplace/actions/trigger-external-workflow 但我有一种感觉,您在问题中缺少正确的命名。

    【讨论】:

      猜你喜欢
      • 2021-11-06
      • 2020-01-21
      • 2020-05-05
      • 2023-01-05
      • 2021-07-25
      • 2021-10-20
      • 2022-08-23
      • 2020-03-15
      • 1970-01-01
      相关资源
      最近更新 更多