Update the version numbers for building the AsyncAPI docs #58
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
name: AsyncAPI documents processing | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
#"standard step" where repo needs to be checked-out first | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Validating AsyncAPI document | |
uses: asyncapi/[email protected] | |
with: | |
command: validate | |
filepath: src/main/asyncapi/network_survey_messaging.yaml | |
- name: Generating HTML from my AsyncAPI document | |
uses: asyncapi/[email protected] | |
with: | |
template: '@asyncapi/[email protected]' #In case of template from npm, because of @ it must be in quotes | |
filepath: src/main/asyncapi/network_survey_messaging.yaml | |
output: generated-html |