Skip to content

Commit

Permalink
feature: add additional input to define the starship cli version or c…
Browse files Browse the repository at this point in the history
…ommit hash (#21)
  • Loading branch information
Anmol1696 authored Oct 13, 2023
1 parent b46819a commit 18673a2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ inputs:
description: "Timeout for helm install (default: 10m)"
required: false
default: "10m"
cli-version:
description: "Starship cli version or commit (default: b8b22acaf5531da75a92e7cde579d365e4a8be86)"
required: false
default: "b8b22acaf5531da75a92e7cde579d365e4a8be86"

outputs:
namespace:
Expand Down Expand Up @@ -76,8 +80,10 @@ runs:

- name: Install Starship cli
run: |
go install github.com/cosmology-tech/starship/cmd/starship@b8b22acaf5531da75a92e7cde579d365e4a8be86
go install github.com/cosmology-tech/starship/cmd/starship@$CLI_VERSION
shell: bash
env:
CLI_VERSION: ${{ inputs.cli-version }}

- name: Setup kind cluster
if: ${{ inputs.kubeconfig == '' }}
Expand Down

0 comments on commit 18673a2

Please sign in to comment.