Warning This action has been deprecated.
Please use the pulumi/actions action in installation only mode.
To migrate, switch to pulumi/actions@v4
.
Before | After |
- name: Install pulumi
uses: pulumi/setup-pulumi@v2 - name: Install pulumi
uses: pulumi/setup-pulumi@v2
with:
pulumi-version: 3.3.0 |
- name: Install pulumi
uses: pulumi/actions@v4 - name: Install pulumi
uses: pulumi/actions@v4
with:
pulumi-version: 3.3.0 |
This repository contains an action for use with GitHub Actions, which installs a specified version of the pulumi
CLI.
pulumi
is installed into /home/runner/.pulumi
(or equivalent on Windows) and the bin
subdirectory is added to the PATH.
Install the latest version of the Pulumi CLI:
- name: Install Pulumi CLI
uses: pulumi/setup-pulumi@v2
Install a specific version of the Pulumi CLI:
- name: Install pulumi
uses: pulumi/setup-pulumi@v2
with:
pulumi-version: 3.3.0
Install a version that adheres to a semver range
- name: Install pulumi
uses: pulumi/setup-pulumi@v2
with:
pulumi-version: ^3.0.0
The action can be configured with the following arguments:
pulumi-version
(optional) - The version of the Pulumi CLI to install. Default islatest
. Accepts semver style values.