Skip to content

Commit eb309cf

Browse files
authored
Update GitHub Actions workflows. (#559)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit c9f15d99b84a05a2fd5f8e319e9a635daa5c19af.
1 parent a5a4829 commit eb309cf

File tree

13 files changed

+14
-107
lines changed

13 files changed

+14
-107
lines changed

.github/actions/setup-tools/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ inputs:
99
pulumicli
1010
pulumictl
1111
schema-tools
12-
node
12+
nodejs
1313
python
1414
dotnet
1515
java
@@ -48,7 +48,7 @@ runs:
4848
repo: pulumi/schema-tools
4949

5050
- name: Setup Node
51-
if: inputs.tools == 'all' || contains(inputs.tools, 'node')
51+
if: inputs.tools == 'all' || contains(inputs.tools, 'nodejs')
5252
uses: actions/setup-node@v4
5353
with:
5454
node-version: 20.x

.github/workflows/build_sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Setup tools
5252
uses: ./.github/actions/setup-tools
5353
with:
54-
tools: pulumictl, pulumicli, go, node, dotnet, python, java
54+
tools: pulumictl, pulumicli, ${{ matrix.language }}
5555
- name: Download bin
5656
uses: ./.github/actions/download-bin
5757
- name: Install plugins

.github/workflows/master.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,19 @@ jobs:
136136
- name: Setup tools
137137
uses: ./.github/actions/setup-tools
138138
with:
139-
tools: pulumictl, pulumicli, go, node, dotnet, python, java
139+
tools: pulumictl, pulumicli, ${{ matrix.language }}
140140
- name: Download bin
141141
uses: ./.github/actions/download-bin
142142
- run: dotnet nuget add source ${{ github.workspace }}/nuget
143+
if: matrix.language == 'dotnet'
143144
- name: Download SDK
144145
uses: ./.github/actions/download-sdk
145146
with:
146147
language: ${{ matrix.language }}
147148
- name: Update path
148149
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
149150
- name: Install Python deps
151+
if: matrix.language == 'python'
150152
run: |-
151153
pip3 install virtualenv==20.0.23
152154
pip3 install pipenv

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Setup tools
8282
uses: ./.github/actions/setup-tools
8383
with:
84-
tools: pulumictl, pulumicli, go, node, dotnet, python, java
84+
tools: pulumictl, pulumicli, nodejs, python, dotnet, go, java
8585
- name: Download bin
8686
uses: ./.github/actions/download-bin
8787
- run: dotnet nuget add source ${{ github.workspace }}/nuget

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
- name: Setup tools
113113
uses: ./.github/actions/setup-tools
114114
with:
115-
tools: pulumictl, pulumicli, go, node, dotnet, python, java
115+
tools: pulumictl, pulumicli, nodejs, python, dotnet, go, java
116116
- name: Publish SDKs
117117
uses: pulumi/pulumi-package-publisher@v0.0.20
118118
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
- name: Setup tools
8787
uses: ./.github/actions/setup-tools
8888
with:
89-
tools: pulumictl, pulumicli, go, node, dotnet, python, java
89+
tools: pulumictl, pulumicli, ${{ matrix.language }}
9090
- name: Download bin
9191
uses: ./.github/actions/download-bin
9292
- run: dotnet nuget add source ${{ github.workspace }}/nuget

.github/workflows/resync-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup tools
3838
uses: ./.github/actions/setup-tools
3939
with:
40-
tools: pulumictl, pulumicli, go, node, dotnet, python
40+
tools: pulumictl, pulumicli, go, nodejs, dotnet, python
4141
- name: Sync with ci-mgmt
4242
run: cp -r "ci-mgmt/provider-ci/providers/$PROVIDER/repo/." .
4343
- name: Remove ci-mgmt directory

.github/workflows/run-acceptance-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
- name: Setup tools
123123
uses: ./.github/actions/setup-tools
124124
with:
125-
tools: pulumictl, pulumicli, go, node, dotnet, python, java
125+
tools: pulumictl, pulumicli, ${{ matrix.language }}
126126
- name: Download bin
127127
uses: ./.github/actions/download-bin
128128
- run: dotnet nuget add source ${{ github.workspace }}/nuget

.github/workflows/upgrade-bridge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Setup tools
6363
uses: ./.github/actions/setup-tools
6464
with:
65-
tools: pulumictl, pulumicli, go, node, dotnet, python, java
65+
tools: pulumictl, pulumicli, nodejs, python, dotnet, go, java
6666
- name: Call upgrade provider action
6767
if: github.event_name == 'workflow_dispatch'
6868
uses: pulumi/pulumi-upgrade-provider-action@v0.0.12

.github/workflows/verify-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ jobs:
6868
- name: Setup tools
6969
uses: ./.github/actions/setup-tools
7070
with:
71-
tools: pulumicli, go, node, dotnet, python, java
71+
tools: pulumicli, nodejs, python, dotnet, go, java

0 commit comments

Comments
 (0)