Skip to content

Commit c7b2a40

Browse files
authored
Update GitHub Actions workflows. (#609)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit b7f0e100bb0abe6720cb1fd92d053fa66129643b.
1 parent c8366ab commit c7b2a40

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ GEN_ENVS := PULUMI_HOME=$(GEN_PULUMI_HOME) PULUMI_CONVERT_EXAMPLES_CACHE_DIR=$(G
9595
generate_dotnet: .make/generate_dotnet
9696
build_dotnet: .make/build_dotnet
9797
.make/generate_dotnet: export PATH := $(WORKING_DIR)/.pulumi/bin:$(PATH)
98-
.make/generate_dotnet: bin/$(TFGEN)
98+
.make/generate_dotnet: .make/install_plugins bin/$(TFGEN)
9999
$(GEN_ENVS) $(WORKING_DIR)/bin/$(TFGEN) dotnet --out sdk/dotnet/
100100
cd sdk/dotnet/ && \
101101
printf "module fake_dotnet_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \
@@ -109,7 +109,7 @@ build_dotnet: .make/build_dotnet
109109
generate_go: .make/generate_go
110110
build_go: .make/build_go
111111
.make/generate_go: export PATH := $(WORKING_DIR)/.pulumi/bin:$(PATH)
112-
.make/generate_go: bin/$(TFGEN)
112+
.make/generate_go: .make/install_plugins bin/$(TFGEN)
113113
$(GEN_ENVS) $(WORKING_DIR)/bin/$(TFGEN) go --out sdk/go/
114114
@touch $@
115115
.make/build_go: .make/generate_go
@@ -121,7 +121,7 @@ generate_java: .make/generate_java
121121
build_java: .make/build_java
122122
.make/generate_java: export PATH := $(WORKING_DIR)/.pulumi/bin:$(PATH)
123123
.make/generate_java: PACKAGE_VERSION := $(VERSION_GENERIC)
124-
.make/generate_java: bin/pulumi-java-gen .make/schema
124+
.make/generate_java: .make/install_plugins bin/pulumi-java-gen .make/schema
125125
PULUMI_HOME=$(GEN_PULUMI_HOME) PULUMI_CONVERT_EXAMPLES_CACHE_DIR=$(GEN_PULUMI_CONVERT_EXAMPLES_CACHE_DIR) bin/$(JAVA_GEN) generate --schema provider/cmd/$(PROVIDER)/schema.json --out sdk/java --build gradle-nexus
126126
printf "module fake_java_module // Exclude this directory from Go tools\n\ngo 1.17\n" > sdk/java/go.mod
127127
@touch $@
@@ -136,7 +136,7 @@ build_java: .make/build_java
136136
generate_nodejs: .make/generate_nodejs
137137
build_nodejs: .make/build_nodejs
138138
.make/generate_nodejs: export PATH := $(WORKING_DIR)/.pulumi/bin:$(PATH)
139-
.make/generate_nodejs: bin/$(TFGEN)
139+
.make/generate_nodejs: .make/install_plugins bin/$(TFGEN)
140140
$(GEN_ENVS) $(WORKING_DIR)/bin/$(TFGEN) nodejs --out sdk/nodejs/
141141
printf "module fake_nodejs_module // Exclude this directory from Go tools\n\ngo 1.17\n" > sdk/nodejs/go.mod
142142
@touch $@
@@ -151,7 +151,7 @@ build_nodejs: .make/build_nodejs
151151
generate_python: .make/generate_python
152152
build_python: .make/build_python
153153
.make/generate_python: export PATH := $(WORKING_DIR)/.pulumi/bin:$(PATH)
154-
.make/generate_python: bin/$(TFGEN)
154+
.make/generate_python: .make/install_plugins bin/$(TFGEN)
155155
$(GEN_ENVS) $(WORKING_DIR)/bin/$(TFGEN) python --out sdk/python/
156156
printf "module fake_python_module // Exclude this directory from Go tools\n\ngo 1.17\n" > sdk/python/go.mod
157157
cp README.md sdk/python/
@@ -168,7 +168,7 @@ build_python: .make/build_python
168168
.PHONY: generate_python build_python
169169
# Run the bridge's registry-docs command to generated the content of the installation docs/ folder at provider repo root
170170
build_registry_docs: .make/build_registry_docs
171-
.make/build_registry_docs: bin/$(TFGEN)
171+
.make/build_registry_docs: .make/install_plugins bin/$(TFGEN)
172172
bin/$(TFGEN) registry-docs --out $(WORKING_DIR)/docs
173173
@touch $@
174174
.PHONY: build_registry_docs

0 commit comments

Comments
 (0)