fix: runs on

This commit is contained in:
Jason Song 2023-03-30 11:41:20 +08:00
parent 41be163e3a
commit f9d1fe8235
No known key found for this signature in database
GPG key ID: 8402EEEE4511A8B5

View file

@ -388,8 +388,7 @@ Not yet, we are working on it.
#### What if it runs on multiple labels, such as `runs-on: [label_a, label_b]`?
This is valid syntax.
It means that it should run on runners that have both the `label_a` **and** `label_b` labels.
<!-- TODO: https://discord.com/channels/322538954119184384/323701541297192961/1088938879039570001 -->
It means that it should run on runners that have both the `label_a` **and** `label_b` labels, see [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on).
Unfortunately, act runner does not work this way.
As mentioned, we map labels to environments: