step-security/databricks-setup-cli is a GitHub Action that installs the Databricks CLI.
Install the default CLI version pinned in this action's VERSION file:
- uses: step-security/databricks-setup-cli@v1Install a specific version:
- uses: step-security/databricks-setup-cli@v1
with:
version: 1.1.0Install a snapshot build produced by the release-snapshot workflow in databricks/cli:
- uses: step-security/databricks-setup-cli@v1
with:
snapshot: 'true'
branch: main| Name | Required | Default | Description |
|---|---|---|---|
version |
no | (value of VERSION file) |
Specific Databricks CLI version (for example 1.1.0). When empty the default pinned version is read from the VERSION file at the root of this action. |
snapshot |
no | false |
Set to 'true' to install a snapshot build instead of a tagged release. |
branch |
no | main |
Branch whose snapshot to install. Only consulted when snapshot is 'true'. |
snapshot: 'true' downloads a workflow artifact from databricks/cli using the GitHub Actions gh CLI. The workflow's default GITHUB_TOKEN is forwarded for authentication. If your workflow runs in a repository whose default token cannot read another repository's artifacts, supply a personal access token via the GH_TOKEN environment variable on the step.
This action is released under the MIT License.
