镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

Sets up the Databricks CLI in your GitHub Actions workflow. Secure drop-in replacement for databricks/setup-cli.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

StepSecurity Maintained Action

StepSecurity Setup Databricks CLI

step-security/databricks-setup-cli is a GitHub Action that installs the Databricks CLI.

Usage

Install the default CLI version pinned in this action's VERSION file:

- uses: step-security/databricks-setup-cli@v1

Install a specific version:

- uses: step-security/databricks-setup-cli@v1
  with:
    version: 1.19.0

Install a snapshot build produced by the release-snapshot workflow in databricks/cli:

- uses: step-security/databricks-setup-cli@v1
  with:
    snapshot: 'true'
    branch: main

Inputs

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 mode and authentication

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.

License

This action is released under the MIT License.

About

Sets up the Databricks CLI in your GitHub Actions workflow. Secure drop-in replacement for databricks/setup-cli.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages