Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Fails to download terraform-docs #4

Description

@AceFire6

Using lablabs/setup-terraform-docs@v1.0.4 (and 1.0.3) I get the following error. It seems as though the file is missing its extension. Here are the available assets from the v0.15.0 release of terraform-docs:
https://github.com/terraform-docs/terraform-docs/releases/tag/v0.15.0

Screenshot 2021-08-13 at 16 04 21

The error I get when running act which mirrors what I get in Github Actions itself.

[Lint Terraform/init-and-lint-1] ⭐  Run Setup Terraform docs
INFO[0088]   ☁  git clone 'https://github.com/lablabs/setup-terraform-docs' # ref=v1.0.3 
[Lint Terraform/init-and-lint-1]   🐳  docker cp src=/Users/jethromuller/.cache/act/lablabs-setup-terraform-docs@v1.0.3/ dst=/var/run/act/actions/lablabs-setup-terraform-docs@v1.0.3/
[Lint Terraform/init-and-lint-1]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/lablabs-setup-terraform-docs@v1.0.3/] user=
[Lint Terraform/init-and-lint-1]   🐳  docker exec cmd=[node /var/run/act/actions/lablabs-setup-terraform-docs@v1.0.3/dist/index.js] user=
[Lint Terraform/init-and-lint-1]   💬  ::debug::Requesting for [latest] version ...
[Lint Terraform/init-and-lint-1]   💬  ::debug::... version resolved to [v0.15.0
[Lint Terraform/init-and-lint-1]   💬  ::debug::Downloading Terraform docs version [v0.15.0] for platform [linux] from [https://github.com/terraform-docs/terraform-docs/releases/download/v0.15.0/terraform-docs-v0.15.0-linux-amd64] to destination [/root/terraform_docs/bin/terraform-docs]
[Lint Terraform/init-and-lint-1]   💬  ::debug::Downloading https://github.com/terraform-docs/terraform-docs/releases/download/v0.15.0/terraform-docs-v0.15.0-linux-amd64
[Lint Terraform/init-and-lint-1]   💬  ::debug::Destination /root/terraform_docs/bin/terraform-docs
[Lint Terraform/init-and-lint-1]   💬  ::debug::Failed to download from "https://github.com/terraform-docs/terraform-docs/releases/download/v0.15.0/terraform-docs-v0.15.0-linux-amd64". Code(404) Message(Not Found)
[Lint Terraform/init-and-lint-1]   ❗  ::error::Unexpected HTTP response: 404
[Lint Terraform/init-and-lint-1]   ❌  Failure - Setup Terraform docs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions