forked from asyncapi/github-action-for-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add automation of version in action.yml
- Loading branch information
1 parent
4983c73
commit 31cd450
Showing
3 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ Sample usage: | |
|
||
```yaml | ||
- name: Generating HTML from my AsyncAPI document | ||
uses: asyncapi/[email protected].1 # You can use any version you want | ||
uses: asyncapi/[email protected].2 # You can use any version you want | ||
with: | ||
custom_command: bundle ./asyncapi.yaml --output final-asyncapi.yaml | ||
``` | ||
|
@@ -113,7 +113,7 @@ In case you do not want to use defaults, you for example want to use different t | |
|
||
```yaml | ||
- name: Generating HTML from my AsyncAPI document | ||
uses: asyncapi/[email protected].1 # You can use any version you want | ||
uses: asyncapi/[email protected].2 # You can use any version you want | ||
with: | ||
command: generate | ||
filepath: ./docs/api/asyncapi.yaml | ||
|
@@ -145,7 +145,7 @@ jobs: | |
#In case you do not want to use defaults, you for example want to use different template | ||
- name: Generating HTML from my AsyncAPI document | ||
uses: asyncapi/[email protected].1 # You can use any version you want | ||
uses: asyncapi/[email protected].2 # You can use any version you want | ||
with: | ||
template: '@asyncapi/[email protected]' #In case of template from npm, because of @ it must be in quotes | ||
filepath: docs/api/my-asyncapi.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters