Skip to content

Commit 50304b4

Browse files
authored
fix: update action.yml (#1565)
1 parent a2c2202 commit 50304b4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 'Generator, Validator, Converter and others - all in one for your AsyncAPI docs'
22
description: 'Use this action to generate docs or code from your AsyncAPI document. Use default templates or provide your custom ones.'
33
inputs:
4-
cli_version:
4+
cli_version:
55
description: 'Version of AsyncAPI CLI to be used. This is only needed if you want to test with a specific version of AsyncAPI CLI. Default is latest which is also the recommended option.'
66
required: false
77
default: ''
@@ -13,7 +13,7 @@ inputs:
1313
description: 'Path to AsyncAPI document. This input is required if command is set to generate, validate, convert or optimize. Default is ./asyncapi.yaml'
1414
required: false
1515
default: 'asyncapi.yml'
16-
template:
16+
template:
1717
description: 'Template for the generator. Official templates are listed here https://github.com/search?q=topic%3Aasyncapi+topic%3Agenerator+topic%3Atemplate. You can pass template as npm package, url to git repository, link to tar file or local template.'
1818
default: '@asyncapi/markdown-template@0.10.0'
1919
required: false
@@ -25,20 +25,20 @@ inputs:
2525
description: 'Directory where to put the generated files. Can be used only with generate or convert commands. Default is output.'
2626
required: false
2727
default: 'output'
28-
parameters:
28+
parameters:
2929
description: 'The command that you use might support and even require specific parameters to be passed to the CLI for the generation. Template parameters should be preceded by -p'
3030
required: false
3131
default: ''
3232
custom_command:
3333
description: 'Custom command to be run. This input is required if command is set to custom.'
3434
required: false
3535
default: ''
36-
36+
3737
runs:
3838
using: 'docker'
39-
# This is the image that will be used to run the action.
39+
# This is the image that will be used to run the action.
4040
# IMPORTANT: The version has to be changed manually in your PRs.
41-
image: 'docker://asyncapi/github-action-for-cli:3.1.2'
41+
image: 'docker://asyncapi/github-action-for-cli:2.8.1'
4242
args:
4343
- ${{ inputs.cli_version }}
4444
- ${{ inputs.command }}

0 commit comments

Comments
 (0)