Skip to content

Commit

Permalink
fix: fixed vault version retrieval expression
Browse files Browse the repository at this point in the history
  • Loading branch information
ptonini committed Feb 8, 2024
1 parent 29a14dd commit fa96882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
steps:
# Install HashiCorp Vault #################################################
- run: |
export VERSION=$(gh release list --repo hashicorp/vault -L 1 | grep Latest | awk '{sub(/v/,X,$0);print $1}')
export VERSION=$(gh release list --repo hashicorp/vault | grep Latest | awk '{sub(/v/,X,$0);print $1}')
wget -q https://releases.hashicorp.com/vault/${VERSION}/vault_${VERSION}_linux_amd64.zip
sudo unzip vault_${VERSION}_linux_amd64.zip vault -d /usr/bin
shell: bash
Expand Down

0 comments on commit fa96882

Please sign in to comment.