Skip to content

Commit 622faff

Browse files
avoid setting up unnecessary languages
1 parent af50111 commit 622faff

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,19 @@ jobs:
8282
repo: pulumi/pulumictl
8383
- name: Install Pulumi CLI
8484
uses: pulumi/[email protected]
85-
- name: Setup Node
85+
- if: ${{ matrix.language == 'nodejs'}}
86+
name: Setup Node
8687
uses: actions/setup-node@v1
8788
with:
8889
node-version: ${{matrix.nodeversion}}
8990
registry-url: ${{env.NPM_REGISTRY_URL}}
90-
- name: Setup DotNet
91+
- if: ${{ matrix.language == 'dotnet'}}
92+
name: Setup DotNet
9193
uses: actions/setup-dotnet@v4
9294
with:
9395
dotnet-version: ${{matrix.dotnetversion}}
94-
- name: Setup Python
96+
- if: ${{ matrix.language == 'python'}}
97+
name: Setup Python
9598
uses: actions/setup-python@v1
9699
with:
97100
python-version: ${{matrix.pythonversion}}

0 commit comments

Comments
 (0)