我有一个手动触发的作业,它根据我指定的标签构建和部署映像。有没有办法使工作流名称动态化?
name: Build and push
on:
workflow_dispatch:
inputs:
tag:
description: 'Image Tag'
required: true
jobs:
...
Run Code Online (Sandbox Code Playgroud)
我想做类似的事情
name: "Build and push ${{ github.event.inputs.tag }}"
Run Code Online (Sandbox Code Playgroud)
yar*_*ell 11
截至 2022 年 9 月 26 日,现已支持此功能。以下是公告(其中包含文档链接):https://github.blog/changelog/2022-09-26-github-actions-dynamic-names-for-workflow-runs/
| 归档时间: |
|
| 查看次数: |
577 次 |
| 最近记录: |