File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 build_web_specs :
1616 runs-on : ubuntu-latest
1717 env :
18- RELEASE_NAME : " ${{ github.ref_name || github.event.inputs.tag }}"
18+ RELEASE_NAME : " ${{ github.event.inputs.tag || github.ref_name }}"
1919
2020 steps :
2121 - name : Check release name matches version pattern
@@ -44,11 +44,11 @@ jobs:
4444 key : ${{ runner.os }}-node-generator
4545
4646 - name : Install AsyncAPI CLI and Generator 👨🏻💻
47- run : npm i -g @asyncapi/cli @asyncapi/ generator
47+ run : npm i -g @asyncapi/generator@2
4848
4949 # Use AsyncAPI generator to generate the HTML bundle
5050 - name : Generate docs for Hub Santé interface ⚙️
51- run : asyncapi generate fromTemplate csv_parser/out/hubsante.asyncapi.yaml @asyncapi/html-template -o web_specs/generated/ --force-write
51+ run : npx -p @asyncapi/generator@2 ag csv_parser/out/hubsante.asyncapi.yaml @asyncapi/html-template -o web_specs/generated/ --force-write
5252
5353 - name : Set up Docker Buildx
5454 uses : docker/setup-buildx-action@v3
You can’t perform that action at this time.
0 commit comments