From d31e79430b876c55af69e26366a5c8130be19bf2 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sun, 8 Sep 2024 14:46:17 +0200 Subject: [PATCH] ci: check where the tf-docs binary is decompressed --- .gitea/workflows/pull-request-open.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/pull-request-open.yml b/.gitea/workflows/pull-request-open.yml index 47a66d7..42046fb 100644 --- a/.gitea/workflows/pull-request-open.yml +++ b/.gitea/workflows/pull-request-open.yml @@ -54,9 +54,12 @@ jobs: # terraform-docs curl -sSLo /tmp/terraform-docs.tar.gz \ https://terraform-docs.io/dl/v0.18.0/terraform-docs-v0.18.0-$(uname)-amd64.tar.gz - tar -xzf /tmp/terraform-docs.tar.gz + tar -xzf /tmp/terraform-docs.tar.gz -C /tmp + ls -la + ls -la /tmp chmod +x /tmp/terraform-docs mv /tmp/terraform-docs /usr/local/bin/terraform-docs + rm -rf /tmp/terraform-docs* shell: bash working-directory: ./