From 28433f1b8fdadaa6b78753a64580409a9a377085 Mon Sep 17 00:00:00 2001 From: Necip Allef Date: Wed, 7 Aug 2024 11:25:48 +0300 Subject: [PATCH 1/2] feat: support for releasing terraform projects --- .github/workflows/release-server-sdk.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release-server-sdk.yml b/.github/workflows/release-server-sdk.yml index 9c4f22f..bb09bfc 100644 --- a/.github/workflows/release-server-sdk.yml +++ b/.github/workflows/release-server-sdk.yml @@ -91,6 +91,12 @@ jobs: coverage: none tools: composer:v2 + - name: 'Install Terraform' + if: ${{ inputs.language == 'terraform' }} + uses: hashicorp/setup-terraform@v3 + with: + terraform_version: ${{ inputs.language-version }} + - name: 'Prepare project' if: ${{ inputs.prepare-command != '' }} run: ${{ inputs.prepare-command }} From fdfa64885cfab7738fca8e7130f8d2e1ec79432e Mon Sep 17 00:00:00 2001 From: Necip Allef Date: Wed, 7 Aug 2024 13:27:33 +0300 Subject: [PATCH 2/2] feat: release terraform step uses commit hash --- .github/workflows/release-server-sdk.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-server-sdk.yml b/.github/workflows/release-server-sdk.yml index bb09bfc..5aa1e4d 100644 --- a/.github/workflows/release-server-sdk.yml +++ b/.github/workflows/release-server-sdk.yml @@ -93,7 +93,7 @@ jobs: - name: 'Install Terraform' if: ${{ inputs.language == 'terraform' }} - uses: hashicorp/setup-terraform@v3 + uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 with: terraform_version: ${{ inputs.language-version }}