Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

2.6.0 still not supported? #298

Closed
fgadaleta opened this issue Mar 27, 2023 · 6 comments
Closed

2.6.0 still not supported? #298

fgadaleta opened this issue Mar 27, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@fgadaleta
Copy link

apparently 2.5.0 either.

@fgadaleta fgadaleta added the bug Something isn't working label Mar 27, 2023
@github-actions
Copy link

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@AchrafAmil
Copy link

having the same issue, what version is supported then? 🤔

@AchrafAmil
Copy link

As per the tests it should work with 2.0.0

https://github.com/asyncapi/github-action-for-generator/blob/master/test/asyncapi.yml

(perhaps supporting 2.6.0 is just a one-liner bump PR? 🙏)

@derberg
Copy link
Member

derberg commented Mar 28, 2023

folks are you really referring to this action or to the action that is mentioned in one of the examples -> WaleedAshraf/asyncapi-github-action which is maintained outside asyncapi organization?

I created an issue there WaleedAshraf/asyncapi-github-action#25

@AchrafAmil
Copy link

yes referring to uses: docker://asyncapi/github-action-for-generator:2.0.0 but just realized I were stuck on 2.0.0 as per the copy/paste from the action's readme. perhaps pointing to 2.1.12 would have helped but after all I just ended up doing a plain CLI call, something like:

- name: Generate md from asyncapi
   run: |
          npm install -g @asyncapi/generator
          ag $YAML_FILE @asyncapi/[email protected] -o generated -p frontMatter=$FRONT_MATTER_FILE -p toc=false -p outFilename=doc.md

@derberg
Copy link
Member

derberg commented Apr 3, 2023

thanks for clarification

I strongly recommend you to not use Generator CLI like npm install -g @asyncapi/generator

have a look at more details in #286 (comment)

closing as all seems to be fine, otherwise please create separate issue

@derberg derberg closed this as completed Apr 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants