https://github.com/open-component-model/ocm-setup-action
GitHub Action installing the OCM command-line tool
https://github.com/open-component-model/ocm-setup-action
ocm open-component-model
Last synced: 5 months ago
JSON representation
GitHub Action installing the OCM command-line tool
- Host: GitHub
- URL: https://github.com/open-component-model/ocm-setup-action
- Owner: open-component-model
- License: apache-2.0
- Created: 2022-11-16T16:07:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-11-24T08:23:20.000Z (7 months ago)
- Last Synced: 2025-11-27T21:32:23.655Z (7 months ago)
- Topics: ocm, open-component-model
- Language: Shell
- Homepage: https://ocm.software/
- Size: 42 KB
- Stars: 0
- Watchers: 5
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Open Component Model CLI setup action
[](https://api.reuse.software/info/github.com/open-component-model/ocm-setup-action)
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.
## Inputs
### `version`
**Optional** The ocm-cli version to install. By default the latest version is installed.
### `repo`
**Optional** The repository of the ocm-cli to install. Default `"open-component-model/ocm"`.
## Example usage
```yaml
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
```
## Licensing
Copyright 2025 SAP SE or an SAP affiliate company and Open Component Model contributors.
Please see our [LICENSE](LICENSE) for copyright and license information.
Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/open-component-model/ocm-setup-action).