GitHub 在 Actions(操作)选项卡中显示 name,帮助从视觉上识别每项作业中的操作。 作者 可选 操作的作者姓名。 说明 必要 操作的简短描述。 inputs 可选 输入参数用于指定操作在运行时预期使用的数据。 GitHub 将输入参数存储为环境变量。 大写的输入 ID 在运行时转换为小写。 建议使用小写输入 ID。 示例 此示例...
在被调用的工作流中,可以使用 inputs 上下文来引用输入。 有关详细信息,请参阅“上下文”。 如果调用方工作流程传递的输入未在被调用工作流程中指定,则会导致错误。 on.workflow_call.inputs 的示例 on: workflow_call: inputs: username: description: 'A username passed from the caller workflow' def...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
这样在actions页面可以看到执行构建的按钮,选择分支后可以执行手动构建。 代码语言:javascript 代码运行次数:0 运行 AI代码解释 on:workflow_dispatch:inputs:name:description:'Person to greet'required:truedefault:'Mona the Octocat'home:description:'location'required:falsejobs:say_hello:runs-on:ubuntu-lateststeps...
Slim is a fast, lightweight templating engine with support forRails 5 and later. It has been heavily tested on all major ruby implementations. We use continuous integration (GitHub actions). Slim's core syntax is guided by one thought: "What's the minimum required to make this work". ...
在执行 workflow 时, 允许在 GitHub Actions 页面输入参数,控制执行逻辑。我们可以将人工处理的逻辑,在 GitHub Actions 参数化执行,适用于持续部署场景。 on: workflow_dispatch: inputs: logLevel: description: 'Log level' required: true default: 'warning' ...
在执行 workflow 时, 允许在 GitHub Actions 页面输入参数,控制执行逻辑。我们可以将人工处理的逻辑,在 GitHub Actions参数化执行,适用于持续部署场景。 on: workflow_dispatch: inputs: logLevel: description: 'Log level' required: true default: 'warning' ...
By default parameters that would overwrite properties on the object prototype are ignored, if you wish to keep the data from those fields either use plainObjects as mentioned above, or set allowPrototypes to true which will allow user input to overwrite those properties. WARNING It is generally ...
如果不在操作元数据文件中声明输出,您仍然可以设置输出并在工作流程中使用它们。 有关在操作中设置输出的更多信息,请参阅“GitHub Actions 的工作流程命令”。示例:声明 Docker 容器和 JavaScript 操作的输出outputs: sum: # id of the output description: 'The sum of the inputs' ...
'xmp'. Input files which are not mapped are ignored. [default: 0:raw 0:preview 0:thumbnail 0:exif 0:xmp] --dng-backward-version <version> DNG specification version [default: 1.4] [possible values: 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6] --colorimetric-reference <reference> Reference for...