From 0d7b72a5ed36f04b6b3be865652f237f6ae0c793 Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Fri, 13 Sep 2024 11:48:21 +0000 Subject: [PATCH] [internal] Update GitHub Actions workflow files --- .github/workflows/main.yml | 3 ++- .github/workflows/prerelease.yml | 5 ++++- .github/workflows/release.yml | 5 ++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3f127807..b41ee821 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -141,8 +141,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 5a4dcf4e..dd847522 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -86,7 +86,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: @@ -94,6 +96,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 b8250cc8..2b28a475 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -91,7 +91,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: @@ -99,6 +101,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