This GitHub Action installs a dedicated version of the ocm-cli to be used in further steps. For example, it could be used in a Makefile executed as subsequent step to build a project.
Optional The ocm-cli version to install. By default the latest version is installed.
Optional The repository of the ocm-cli to install. Default "open-component-model/ocm"
.
jobs:
ocm-setup-action:
runs-on: ubuntu-latest
name: ocm-setup-action
steps:
- uses: open-component-model/ocm-setup-action@main
with:
version: v0.19.0
- run: ocm --version
Copyright 2024 SAP SE or an SAP affiliate company and Open Component Model contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.