open-education-api / specification

OpenAPI (fka Swagger) specification for the Open Education API.
Other
32 stars 26 forks source link

Add release Gh action #277

Closed jelmerderonde closed 2 years ago

jelmerderonde commented 2 years ago

This PR adds a Github Action that creates a GH release whenever a tag release-* is pushed to the repository. Since the OOAPI repository contains multiple versions (v1 - v5), tags indicating a specific OOAPI version do not seem logical. That's why I've chosen the release-* pattern for tags.

When the action runs, it setups node and uses the @redocly/cli tool to generate a bundle file for v4 and v5 and attaches them to the release.