Skip to content

Commit

Permalink
docs: document architectures input in README and action.yml
Browse files Browse the repository at this point in the history
- Add `architectures` description to README.md
- Add `architectures` input to action.yml with a detailed description and default value

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jun 26, 2024
1 parent d425c8c commit 37b0088
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ See [action.yml](./action.yml) for more detailed information.
* layers - A list of function layers, to add to the function's execution environment. Specify each layer by its ARN, including the version.
* tracing_mode - Set Mode to `Active` to sample and trace a subset of incoming requests with X-Ray.
* max_attempts - The maximum number of times the waiter should attempt to check the resource for the target state.
* architectures - The instruction set architecture that the function supports. `arm64 | x86_64`

See the [UpdateFunctionConfiguration](https://docs.amazonaws.cn/en_us/lambda/latest/dg/API_UpdateFunctionConfiguration.html) for detail information.

Expand Down
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ inputs:
max_attempts:
description: "the maximum number of times the waiter should attempt to check the resource for the target state"
default: 600
architectures:
description: "The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64."

runs:
using: "docker"
Expand Down

0 comments on commit 37b0088

Please sign in to comment.