Skip to content

Commit 760580e

Browse files
committed
adding comments to readme
1 parent 37635ad commit 760580e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

readme.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ This action allows you to synchronously invoke a Lambda function and get the res
1919

2020
## Table of contents
2121

22-
- [Input parameters](#input-parameters)
23-
- [Credentials](#credentials)
24-
- [Invocation](#invocation)
25-
- [Output](#output)
26-
- [Examples](#examples)
27-
- [Basic example](#basic-example)
28-
- [Using output](#using-output)
29-
- [Specifying alias/version](#specifying-aliasversion)
30-
- [Handling logs](#handling-logs)
22+
- [Input parameters](#input-parameters)
23+
- [Credentials](#credentials)
24+
- [Invocation](#invocation)
25+
- [Output](#output)
26+
- [Examples](#examples)
27+
- [Basic example](#basic-example)
28+
- [Using output](#using-output)
29+
- [Specifying alias/version](#specifying-aliasversion)
30+
- [Handling logs](#handling-logs)
3131

3232
<hr>
3333

@@ -85,7 +85,7 @@ This step invokes a Lambda function without regard for the invocation output:
8585

8686
```yaml
8787
- name: Invoke foobarFunction Lambda
88-
uses: gagoar/invoke-aws-lambda@master
88+
uses: gagoar/invoke-aws-lambda@master # or the latest version.
8989
with:
9090
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
9191
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -100,7 +100,7 @@ These steps process the response payload by using step outputs:
100100
```yaml
101101
- name: Invoke foobarFunction Lambda
102102
id: foobar
103-
uses: gagoar/invoke-aws-lambda@master
103+
uses: gagoar/invoke-aws-lambda@master # or the latest version.
104104
with:
105105
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
106106
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -119,7 +119,7 @@ This step invokes a Lambda function with the `someAlias` alias:
119119

120120
```yaml
121121
- name: Invoke foobarFunction Lambda
122-
uses: gagoar/invoke-aws-lambda@master
122+
uses: gagoar/invoke-aws-lambda@master # or the latest version.
123123
with:
124124
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
125125
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -144,7 +144,7 @@ These steps process logs returned from the invocation:
144144
```yaml
145145
- name: Invoke foobarFunction Lambda
146146
id: foobar
147-
uses: gagoar/invoke-aws-lambda@master
147+
uses: gagoar/invoke-aws-lambda@master # or the latest version.
148148
with:
149149
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
150150
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -153,4 +153,4 @@ These steps process logs returned from the invocation:
153153
Payload: '{ "myParameter": false }'
154154
- name: Store tail logs to file
155155
run: echo "${{ fromJSON(steps.foobar.outputs.response).LogResult }}" > invocation-logs.json
156-
```
156+
```

0 commit comments

Comments
 (0)