Skip to content

Commit 0c76b88

Browse files
authored
Update GitHub Actions workflows. (#563)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 53d4b52d48d4eefbda8214c9c383902c2614ba30.
1 parent eb83b54 commit 0c76b88

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ jobs:
139139
tools: pulumictl, pulumicli, ${{ matrix.language }}
140140
- name: Download bin
141141
uses: ./.github/actions/download-bin
142-
- run: dotnet nuget add source ${{ github.workspace }}/nuget
142+
- name: Add NuGet source
143143
if: matrix.language == 'dotnet'
144+
run: dotnet nuget add source ${{ github.workspace }}/nuget
144145
- name: Download SDK
145146
uses: ./.github/actions/download-sdk
146147
with:

.github/workflows/prerelease.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,17 @@ jobs:
8484
tools: pulumictl, pulumicli, nodejs, python, dotnet, go, java
8585
- name: Download bin
8686
uses: ./.github/actions/download-bin
87-
- run: dotnet nuget add source ${{ github.workspace }}/nuget
87+
- name: Add NuGet source
88+
if: matrix.language == 'dotnet'
89+
run: dotnet nuget add source ${{ github.workspace }}/nuget
8890
- name: Download SDK
8991
uses: ./.github/actions/download-sdk
9092
with:
9193
language: ${{ matrix.language }}
9294
- name: Update path
9395
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
9496
- name: Install Python deps
97+
if: matrix.language == 'python'
9598
run: |-
9699
pip3 install virtualenv==20.0.23
97100
pip3 install pipenv

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,17 @@ jobs:
8989
tools: pulumictl, pulumicli, ${{ matrix.language }}
9090
- name: Download bin
9191
uses: ./.github/actions/download-bin
92-
- run: dotnet nuget add source ${{ github.workspace }}/nuget
92+
- name: Add NuGet source
93+
if: matrix.language == 'dotnet'
94+
run: dotnet nuget add source ${{ github.workspace }}/nuget
9395
- name: Download SDK
9496
uses: ./.github/actions/download-sdk
9597
with:
9698
language: ${{ matrix.language }}
9799
- name: Update path
98100
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
99101
- name: Install Python deps
102+
if: matrix.language == 'python'
100103
run: |-
101104
pip3 install virtualenv==20.0.23
102105
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)