Skip to content

Commit fa833ec

Browse files
committed
Version upgrades
1 parent e0bd7c5 commit fa833ec

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/main.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ jobs:
1313
uses: ./
1414
id: ask
1515
with:
16-
exec: 'ask --version'
16+
command: 'ask --version'
17+
env: # Or as an environment variable
18+
ASK_ACCESS_TOKEN: ${{ secrets.ASK_ACCESS_TOKEN }}
19+
ASK_REFRESH_TOKEN: ${{ secrets.ASK_REFRESH_TOKEN }}
20+
ASK_VENDOR_ID: ${{ secrets.ASK_VENDOR_ID }}
21+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
22+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
23+
SKILL_ID: ${{ secrets.SKILL_ID }}
1724
# Use the output from the `hello` step
1825
- name: Get the output
1926
run: echo "The result was ${{ steps.ask.outputs.result }}"

action.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ branding:
66
icon: 'activity'
77
color: 'blue'
88
inputs:
9-
exec: # id of input
9+
command: # id of input
1010
description: 'Command to execute'
1111
required: true
1212
default: 'ask --version'
@@ -16,3 +16,5 @@ outputs:
1616
runs:
1717
using: 'docker'
1818
image: './.github/action/Dockerfile'
19+
args:
20+
- ${{ inputs.command }}

0 commit comments

Comments
 (0)