Skip to content

Commit 4559bc8

Browse files
authored
Update GitHub Actions workflows. (#4464)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit a5bd46d8f5bf9a0f0bec2df9ef91267f77095aef.
1 parent 4581650 commit 4559bc8

File tree

5 files changed

+19
-4
lines changed

5 files changed

+19
-4
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ jobs:
152152
tools: pulumictl, pulumicli, ${{ matrix.language }}
153153
- name: Download bin
154154
uses: ./.github/actions/download-bin
155-
- run: dotnet nuget add source ${{ github.workspace }}/nuget
155+
- name: Add NuGet source
156156
if: matrix.language == 'dotnet'
157+
run: dotnet nuget add source ${{ github.workspace }}/nuget
157158
- name: Download SDK
158159
uses: ./.github/actions/download-sdk
159160
with:

.github/workflows/nightly-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,17 @@ jobs:
7272
tools: pulumictl, pulumicli, ${{ matrix.language}}
7373
- name: Download bin
7474
uses: ./.github/actions/download-bin
75-
- run: dotnet nuget add source ${{ github.workspace }}/nuget
75+
- name: Add NuGet source
76+
if: matrix.language == 'dotnet'
77+
run: dotnet nuget add source ${{ github.workspace }}/nuget
7678
- name: Download SDK
7779
uses: ./.github/actions/download-sdk
7880
with:
7981
language: ${{ matrix.language }}
8082
- name: Update path
8183
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
8284
- name: Install Python deps
85+
if: matrix.language == 'python'
8386
run: |-
8487
pip3 install virtualenv==20.0.23
8588
pip3 install pipenv

.github/workflows/prerelease.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,17 @@ jobs:
9595
tools: pulumictl, pulumicli, nodejs, python, dotnet, go, java
9696
- name: Download bin
9797
uses: ./.github/actions/download-bin
98-
- run: dotnet nuget add source ${{ github.workspace }}/nuget
98+
- name: Add NuGet source
99+
if: matrix.language == 'dotnet'
100+
run: dotnet nuget add source ${{ github.workspace }}/nuget
99101
- name: Download SDK
100102
uses: ./.github/actions/download-sdk
101103
with:
102104
language: ${{ matrix.language }}
103105
- name: Update path
104106
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
105107
- name: Install Python deps
108+
if: matrix.language == 'python'
106109
run: |-
107110
pip3 install virtualenv==20.0.23
108111
pip3 install pipenv

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,17 @@ jobs:
100100
tools: pulumictl, pulumicli, ${{ matrix.language }}
101101
- name: Download bin
102102
uses: ./.github/actions/download-bin
103-
- run: dotnet nuget add source ${{ github.workspace }}/nuget
103+
- name: Add NuGet source
104+
if: matrix.language == 'dotnet'
105+
run: dotnet nuget add source ${{ github.workspace }}/nuget
104106
- name: Download SDK
105107
uses: ./.github/actions/download-sdk
106108
with:
107109
language: ${{ matrix.language }}
108110
- name: Update path
109111
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
110112
- name: Install Python deps
113+
if: matrix.language == 'python'
111114
run: |-
112115
pip3 install virtualenv==20.0.23
113116
pip3 install pipenv

.github/workflows/verify-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
description: "Enable the MacOS runner in addition to Linux and Windows. Defaults to 'false'."
1212
required: false
1313
type: boolean
14+
skipGoSdk:
15+
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)."
16+
required: false
17+
type: boolean
18+
default: false
1419
workflow_call:
1520
inputs:
1621
providerVersion:

0 commit comments

Comments
 (0)