From 0c9b2cb0aa66a6a858622acf586c1f9cbb119765 Mon Sep 17 00:00:00 2001 From: Ringo De Smet Date: Tue, 3 Dec 2024 07:39:57 +0100 Subject: [PATCH] Regenerate workflows for pulumi-acme (#94) Co-authored-by: pulumi-bot --- .github/workflows/build_provider.yml | 2 +- .github/workflows/main.yml | 1 + .github/workflows/publish.yml | 11 +++++++++++ .github/workflows/resync-build.yml | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_provider.yml b/.github/workflows/build_provider.yml index 40e1a2c..daff0b7 100644 --- a/.github/workflows/build_provider.yml +++ b/.github/workflows/build_provider.yml @@ -46,7 +46,7 @@ jobs: pattern: schema-embed.* # Avoid creating directories for each artifact merge-multiple: true - path: provider/cmd/pulumi-resource-acme/schema-embed.json + path: provider/cmd/pulumi-resource-acme - name: Restore makefile progress run: make --touch provider schema - name: Build & package provider diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d5af0a7..3f1c009 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -105,6 +105,7 @@ jobs: version: ${{ needs.prerequisites.outputs.version }} isPrerelease: true skipGoSdk: true + skipJavaSdk: true tag_release_if_labeled_needs_release: name: Tag release if labeled as needs-release diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bde97eb..8feb9ec 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,6 +14,10 @@ on: default: false type: boolean description: Skip publishing & verifying the Go SDK + skipJavaSdk: + default: false + type: boolean + description: Skip publishing the Java SDK env: IS_PRERELEASE: ${{ inputs.isPrerelease }} @@ -107,10 +111,17 @@ jobs: with: tools: pulumictl, pulumicli, dotnet, go, nodejs, python - name: Publish SDKs + if: inputs.skipJavaSdk == false uses: pulumi/pulumi-package-publisher@1c0359ba74243cf6651efacfd839c751d8ff87e2 # v0.0.20 with: sdk: all,!java version: ${{ inputs.version }} + - name: Publish SDKs (except Java) + if: inputs.skipJavaSdk == true + uses: pulumi/pulumi-package-publisher@1c0359ba74243cf6651efacfd839c751d8ff87e2 # v0.0.20 + with: + sdk: all,!java,!java + version: ${{ inputs.version }} - name: Download Go SDK uses: ./.github/actions/download-sdk with: diff --git a/.github/workflows/resync-build.yml b/.github/workflows/resync-build.yml index c83f440..ac29c7b 100644 --- a/.github/workflows/resync-build.yml +++ b/.github/workflows/resync-build.yml @@ -27,7 +27,7 @@ jobs: run: | make ci-mgmt - name: Create PR (no linked issue) - uses: peter-evans/create-pull-request@v3.12.0 + uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 with: author: pulumi-bot base: main