[Core feature request] Model `matrix` context
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
调研方向
Start with the linked GitHub Actions matrix context documentation and related issues #287 and #297. Review the Kotlin DSL entry points represented by the examples, then define completion as supporting matrix.distribution.label, matrix.environment, and matrix.distribution.user-id expressions in workflow fields such as name, runs-on, and with.
由索引模型根据 Issue 内容生成。
描述
What feature do you need?
https://docs.github.com/en/actions/learn-github-actions/contexts#matrix-context
Also look at related feature requests: #287 and #297.
Do you have an example usage?
name: Test "${{ matrix.distribution.label }}" distribution on ${{ matrix.environment }}
runs-on: ${{ matrix.environment }}
with:
distribution: ${{ matrix.distribution.user-id }}
Is there a workaround for not having this feature? If yes, please describe it.
name = """Test "${expr("matrix.distribution.label")}" distribution on ${expr("matrix.environment")}"""
runsOn = Custom(expr("matrix.environment"))
distribution = Distribution.Custom(expr("matrix.distribution.user-id"))
- 主要语言
- Kotlin
- 星标
- 664
- 派生
- 30
- 平均合并
- 4 天 19 小时
- 30 天内合并 PR
- 5
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
typesafegithub/github-workflows-kt 的其他 Issue
-
bug
难度 3/5 1-2 天 新手友好度 58/100
typesafegithub/github-workflows-kt#2389 · 7 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 42/100
typesafegithub/github-workflows-kt#2368 · 1 条评论 ·
-
problem
难度 4/5 3-5 天 新手友好度 42/100
typesafegithub/github-workflows-kt#2348 · 2 条评论 ·
-
operational
typesafegithub/github-workflows-kt#1884 · 已指派 1 人 ·
-
problem
难度 3/5 1-2 天 新手友好度 30/100
typesafegithub/github-workflows-kt#1864 · 5 条评论 ·
查看 typesafegithub/github-workflows-kt 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
-
index-request triaged
难度 2/5 1-3 小时 新手友好度 72/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
Anthonyy232/Paperize#614 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
🌑 nextgen
难度 2/5 1-3 小时 新手友好度 82/100
CCBlueX/LiquidBounce#9214 · 1 条评论 ·