Skip to content

Commit cc0039b

Browse files
committed
Version upgrades
1 parent fa833ec commit cc0039b

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

README.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff 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+
164196
It is important to add that the GiHub Action are using the latest version of the ASK CLI.
165197

166198
## Links:

0 commit comments

Comments
 (0)