diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ef0f6d908..fb693384d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -270,6 +270,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go + if: ${{ matrix.language == 'go' }} uses: actions/setup-go@v2 with: go-version: ${{matrix.goversion}} @@ -280,19 +281,23 @@ jobs: - name: Install Pulumi CLI uses: pulumi/action-install-pulumi-cli@v2 - name: Setup Node + if: ${{ matrix.language == 'nodejs' }} uses: actions/setup-node@v2 with: node-version: ${{matrix.nodeversion}} registry-url: https://registry.npmjs.org - name: Setup DotNet + if: ${{ matrix.language == 'dotnet' }} uses: actions/setup-dotnet@v1 with: dotnet-version: ${{matrix.dotnetversion}} - name: Setup Python + if: ${{ matrix.language == 'python' }} uses: actions/setup-python@v2 with: python-version: ${{matrix.pythonversion}} - name: Setup Java + if: ${{ matrix.language == 'java' }} uses: actions/setup-java@v3 with: java-version: ${{matrix.javaversion}}