File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed
Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ You can use the following example as a way to start:
144144``` yaml
145145
146146 - name : Alexa ASK AWS CLI Action
147- uses : xavidop/alexa-ask-aws-cli-docker@v1.0.5
147+ uses : xavidop/alexa-ask-aws-cli-docker@v1.0.6
148148 id : command
149149 with :
150150 command : ' ask --version'
@@ -161,6 +161,38 @@ You can use the following example as a way to start:
161161
162162```
163163
164+ Or for example using it in a workflow:
165+
166+ ``` yaml
167+ on : [push]
168+
169+ jobs :
170+ test-action :
171+ runs-on : ubuntu-latest
172+ name : Test Action
173+ steps :
174+ # To use this repository's private action,
175+ # you must check out the repository
176+ - name : Checkout
177+ uses : actions/checkout@v2
178+ - name : Test action step
179+ uses : xavidop/alexa-ask-aws-cli-docker@v1.0.6
180+ id : ask
181+ with :
182+ command : ' ask --version'
183+ env : # Or as an environment variable
184+ ASK_ACCESS_TOKEN : ${{ secrets.ASK_ACCESS_TOKEN }}
185+ ASK_REFRESH_TOKEN : ${{ secrets.ASK_REFRESH_TOKEN }}
186+ ASK_VENDOR_ID : ${{ secrets.ASK_VENDOR_ID }}
187+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
188+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
189+ SKILL_ID : ${{ secrets.SKILL_ID }}
190+ # Use the output from the `hello` step
191+ - name : Get the output
192+ run : echo "The result was ${{ steps.ask.outputs.result }}"
193+
194+ ```
195+
164196It is important to add that the GiHub Action are using the latest version of the ASK CLI.
165197
166198## Links:
You can’t perform that action at this time.
0 commit comments