Skip to content

Commit

Permalink
Version upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
xavidop committed Aug 30, 2020
1 parent fa833ec commit cc0039b
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ You can use the following example as a way to start:
```yaml

- name: Alexa ASK AWS CLI Action
uses: xavidop/alexa-ask-aws-cli-docker@v1.0.5
uses: xavidop/alexa-ask-aws-cli-docker@v1.0.6
id: command
with:
command: 'ask --version'
Expand All @@ -161,6 +161,38 @@ You can use the following example as a way to start:

```

Or for example using it in a workflow:

```yaml
on: [push]

jobs:
test-action:
runs-on: ubuntu-latest
name: Test Action
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v2
- name: Test action step
uses: xavidop/alexa-ask-aws-cli-docker@v1.0.6
id: ask
with:
command: 'ask --version'
env: # Or as an environment variable
ASK_ACCESS_TOKEN: ${{ secrets.ASK_ACCESS_TOKEN }}
ASK_REFRESH_TOKEN: ${{ secrets.ASK_REFRESH_TOKEN }}
ASK_VENDOR_ID: ${{ secrets.ASK_VENDOR_ID }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SKILL_ID: ${{ secrets.SKILL_ID }}
# Use the output from the `hello` step
- name: Get the output
run: echo "The result was ${{ steps.ask.outputs.result }}"

```

It is important to add that the GiHub Action are using the latest version of the ASK CLI.

## Links:
Expand Down

0 comments on commit cc0039b

Please sign in to comment.