Skip to content

Commit 571c5d6

Browse files
authored
Feature/download terraform version specific AB#22506 (#10)
* Update action.yaml * Update action.yaml * Update action.yaml * Update action.yaml * Update action.yaml * Update action.yaml * Update action.yaml
1 parent 6eb9ad1 commit 571c5d6

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.github/actions/brew_and_gittoken/action.yaml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,27 @@ runs:
1515
shell: bash
1616
- run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
1717
shell: bash
18+
1819
- name: Setup
1920
run: |
2021
wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.59.1/terragrunt_linux_amd64
2122
mv terragrunt_linux_amd64 terragrunt
2223
chmod +x terragrunt
2324
mv terragrunt /usr/local/bin
2425
shell: bash
25-
- name: install Terraform
26-
run: |
26+
27+
- name: Setup
28+
run: |
29+
mkdir -p tmp
30+
cd tmp
2731
wget https://releases.hashicorp.com/terraform/1.9.8/terraform_1.9.8_linux_amd64.zip
28-
rm -rf terraform/
29-
sudo unzip -o terraform_1.9.8_linux_amd64.zip
30-
sudo mv terraform /usr/local/bin/
31-
terraform --version
32-
shell: bash
32+
unzip -o terraform_1.9.8_linux_amd64.zip
33+
chmod +x terraform
34+
mv terraform /usr/local/bin
35+
shell: bash
36+
- name: Versions
37+
run: |
38+
terragrunt -v
39+
terraform --version
40+
shell: bash
41+

0 commit comments

Comments
 (0)