OASg Maven library publishing for GitHub

This is a demonstration how OASg - a wrapper for openapi-generator - can be used with GitHub Actions publishing jar files to GitHub repository.

This guide is written for OASg 13.0.1 (as of 2023-12-13)

Configuration steps

  • the published OASg image only supports ARM architecture that cannot be run on the default GitHub runners
  • OASg provides settings.xml for GitLab repository - to support GitHub, this file is overriden using pactch-package