Skip to content

Commit

Permalink
fixed errors in GitHub Docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
tgraupne committed Feb 2, 2025
1 parent 7fec4ad commit cfcbc82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: go mod tidy

- name: Install build dependencies
run: sudo apt update && sudo apt install musl-tools -y
run: sudo apt update && sudo apt install gcc libc-dev -y

- name: Setup Terraform
uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1
Expand All @@ -37,7 +37,7 @@ jobs:

- name: Generate documentation
run: |
make create-docs-linux
make create-docs-linux PARAM_CC="gcc" PARAM_CGO_LDFLAGS="-s -w"
- name: Git diff
run: |
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ set-env-windows: set-env
.PHONY: create-docs-linux
create-docs-linux: set-env-linux
terraform fmt -recursive ./examples/
CGO_ENABLED=0 go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate
go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate

# Build a static linux binary
.PHONY: build-linux
Expand Down

0 comments on commit cfcbc82

Please sign in to comment.