Setup operator-sdk with a single GitHub action!
This GitHub Action optionally downloads and caches operator-sdk binary for use in your own Github Action Workflows. Just specify the version according to semver spec and you're good to go!
This action assumes a Linux or MacOS environment, and will not work on Windows, since operator-sdk is only packaged for linux/macos/s390x.
See action.yml for more details.
steps:
- uses: shivanshs9/setup-k8s-operator-sdk@v1
with:
version: "^0.17.0" # The operator-sdk version to download (if necessary) and use.
Required inputs:
version
: operator-sdk version to use (from Releases). You can also specify version range, according to semver spec.
The scripts and documentation in this project are released under the MIT License