Skip to content
dapr Created with Sketch.

GitHub Action

Dapr tool installer

v1 Latest version

Dapr tool installer

dapr Created with Sketch.

Dapr tool installer

Install a specific version of Dapr CLI. Acceptable values are semantic version string like 1.2.0

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Dapr tool installer

uses: dapr/setup-dapr@v1

Learn more about this action in dapr/setup-dapr

Choose a version

Setup Dapr CLI

Install a specific version of Dapr CLI on a GitHub Actions runner

Acceptable values are any semantic version string like 1.2.0. Use this action in workflow to define which version of Dapr will be used.

- uses: dapr/setup-dapr@v1
  with:
    version: '<version>' # default is 1.2.0
  id: install

The cached Dapr CLI path is added to the PATH environment variable as well as stored in the dapr-path output variable. Refer to the action metadata file for details about all the inputs https://github.com/dapr/setup-dapr/blob/main/action.yml

Code of Conduct

Please refer to our Dapr Community Code of Conduct