From 6a980f0fc4b39ad7d6dd076afa9d57c6d8dc2710 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Sat, 14 Sep 2024 06:45:09 +0100 Subject: [PATCH] Update GitHub Actions workflows. (#464) This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 53d4b52d48d4eefbda8214c9c383902c2614ba30. --- .github/workflows/master.yml | 3 ++- .github/workflows/prerelease.yml | 5 ++++- .github/workflows/release.yml | 5 ++++- .github/workflows/verify-release.yml | 5 +++++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index a72714b..a1592e8 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -140,8 +140,9 @@ jobs: tools: pulumictl, pulumicli, ${{ matrix.language }} - name: Download bin uses: ./.github/actions/download-bin - - run: dotnet nuget add source ${{ github.workspace }}/nuget + - name: Add NuGet source if: matrix.language == 'dotnet' + run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK uses: ./.github/actions/download-sdk with: diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index a8f5e2d..274d001 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -85,7 +85,9 @@ jobs: tools: pulumictl, pulumicli, nodejs, python, dotnet, go, java - name: Download bin uses: ./.github/actions/download-bin - - run: dotnet nuget add source ${{ github.workspace }}/nuget + - name: Add NuGet source + if: matrix.language == 'dotnet' + run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK uses: ./.github/actions/download-sdk with: @@ -93,6 +95,7 @@ jobs: - name: Update path run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH" - name: Install Python deps + if: matrix.language == 'python' run: |- pip3 install virtualenv==20.0.23 pip3 install pipenv diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30bc0a4..e5b48cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,7 +90,9 @@ jobs: tools: pulumictl, pulumicli, ${{ matrix.language }} - name: Download bin uses: ./.github/actions/download-bin - - run: dotnet nuget add source ${{ github.workspace }}/nuget + - name: Add NuGet source + if: matrix.language == 'dotnet' + run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK uses: ./.github/actions/download-sdk with: @@ -98,6 +100,7 @@ jobs: - name: Update path run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH" - name: Install Python deps + if: matrix.language == 'python' run: |- pip3 install virtualenv==20.0.23 pip3 install pipenv diff --git a/.github/workflows/verify-release.yml b/.github/workflows/verify-release.yml index 768754f..e885053 100644 --- a/.github/workflows/verify-release.yml +++ b/.github/workflows/verify-release.yml @@ -11,6 +11,11 @@ on: description: "Enable the MacOS runner in addition to Linux and Windows. Defaults to 'false'." required: false type: boolean + skipGoSdk: + description: "Skip the Go SDK verification. Defaults to 'false'. Enable this when verifying a pre-release for which we don't publish the Go SDK (for PRs and the default branch)." + required: false + type: boolean + default: false workflow_call: inputs: providerVersion: