From 5e473540b8f77767e3c0de0f895b183d5e4cd9a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Grill?= Date: Wed, 16 Oct 2024 13:12:17 +0200 Subject: [PATCH] install thrift separately --- .github/workflows/client.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index 4e23478..e50e987 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -49,13 +49,18 @@ jobs: with: go-version: '1.23' + - name: Download and install thrift + run: | + $thriftUrl = 'https://dlcdn.apache.org/thrift/0.21.0/thrift-0.21.0.exe' + $thriftPath = Join-Path $env:RUNNER_TOOL_CACHE 'thrift.exe' + Invoke-WebRequest -Uri $thriftUrl -OutFile $thriftPath + echo "$env:RUNNER_TOOL_CACHE" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: Get tools run: | go install github.com/akavel/rsrc@latest go install github.com/minio/minio@latest go install github.com/minio/mc@latest - curl -o thrift.exe --output-dir '${{ runner.tool_cache }}' 'https://dlcdn.apache.org/thrift/0.21.0/thrift-0.21.0.exe' - echo echo '${{ runner.tool_cache }}' >> "$GITHUB_PATH" - name: Generate env: