1
0
mirror of synced 2025-12-23 03:44:00 -05:00

Actions bug fix hour for the week of April 15, 2023 (#37144)

This commit is contained in:
Joe Clark
2023-05-22 09:40:27 -07:00
committed by GitHub
parent f11934040e
commit 49e07882f8
3 changed files with 11 additions and 8 deletions

View File

@@ -690,6 +690,8 @@ For built-in shell keywords, we provide the following defaults that are executed
A `map` of the input parameters defined by the action. Each input parameter is a key/value pair. Input parameters are set as environment variables. The variable is prefixed with `INPUT_` and converted to upper case.
Input parameters defined for a Docker container must use `args`. For more information, see "[`jobs.<job_id>.steps[*].with.args`](#jobsjob_idstepswithargs)."
### Example of `jobs.<job_id>.steps[*].with`
Defines the three input parameters (`first_name`, `middle_name`, and `last_name`) defined by the `hello_world` action. These input variables will be accessible to the `hello-world` action as `INPUT_FIRST_NAME`, `INPUT_MIDDLE_NAME`, and `INPUT_LAST_NAME` environment variables.