diff --git a/.github/workflows/build_provider.yml b/.github/workflows/build_provider.yml index 77f118c7..9611a160 100644 --- a/.github/workflows/build_provider.yml +++ b/.github/workflows/build_provider.yml @@ -38,7 +38,10 @@ jobs: - name: Download schema-embed.json uses: actions/download-artifact@v4 with: - name: schema-embed.json + # Use a pattern to avoid failing if the artifact doesn't exist + pattern: schema-embed.* + # Avoid creating directories for each artifact + merge-multiple: true path: provider/cmd/pulumi-resource-auth0/schema-embed.json - name: Prepare for build # This installs plugins and prepares upstream diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 293ba997..3a5a8ccf 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -81,6 +81,7 @@ jobs: github.event.pull_request.head.repo.full_name == github.repository needs: - test + - build_provider - license_check - lint runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index b1ea12f0..66a39bdc 100644 --- a/Makefile +++ b/Makefile @@ -211,7 +211,7 @@ bin/linux-arm64/$(PROVIDER): TARGET := linux-arm64 bin/darwin-amd64/$(PROVIDER): TARGET := darwin-amd64 bin/darwin-arm64/$(PROVIDER): TARGET := darwin-arm64 bin/windows-amd64/$(PROVIDER).exe: TARGET := windows-amd64 -bin/%/$(PROVIDER) bin/%/$(PROVIDER).exe: provider/cmd/$(PROVIDER)/schema-embed.json +bin/%/$(PROVIDER) bin/%/$(PROVIDER).exe: @# check the TARGET is set test $(TARGET) cd provider && \