diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 5ac4f4e04d..328182bbb1 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -147,8 +147,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 a4101dcf40..ece85bf6f2 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -92,7 +92,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: @@ -100,6 +102,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 d60874f870..bea025669a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,7 +97,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: @@ -105,6 +107,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 9b0874ecb4..227a9aeb9e 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: