Skip to content

Provide relevant output in GHA #1129

@yevgen-el8

Description

@yevgen-el8

I'm building a system where developers can enable GHA for publishing their APIs to readme.com. The process should be as automated as possible.

I couldn't find a way to push an openapi spec without going through create process first and saving the output ID. So, I assume it has to be a two step process:

  • create initial version and commit the ID in a separate file (first GHA workflow, run manually for the first time)
  • use the ID from the file and upload any changes using the ID (second GHA workflow run on each deployment)

I couldn't find any documentation about the GHA outputs to save the ID into the file.
Maybe, given my scenario, there is a better way to achieve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    command:openapiIssues pertaining to the `openapi`, `validate`, `reduce`, or `swagger` commands

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions