From 0c940c3b57315d5b1adac897d225382b9fe5e683 Mon Sep 17 00:00:00 2001 From: Gamunu Balagalla Date: Thu, 12 Sep 2024 14:48:43 +0530 Subject: [PATCH] fix: install tofu in the pipelie Signed-off-by: Gamunu Balagalla --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 085590f3e..59d407a8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,8 @@ env: jobs: generate-provider-schemas: runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -16,6 +18,11 @@ jobs: uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 with: go-version-file: .go-version + - name: Install OpenTofu + uses: opentofu/setup-opentofu@v1 + with: + tofu_wrapper: false + tofu_version: 1.8.0 - name: Generate provider schemas run: | go generate ./internal/schemas