From 363da676d7b6b8bab2c0924e361345c875031be5 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:02:05 -0800 Subject: [PATCH] Update GitHub Actions workflows. (#520) This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit d83c72e40cb154335090119466d3fd50adb81a1d. --- .github/workflows/check-upstream-upgrade.yml | 2 +- .github/workflows/license.yml | 4 +- .github/workflows/lint.yml | 4 +- .github/workflows/master.yml | 50 ++++++++++---------- .github/workflows/prerelease.yml | 44 ++++++++--------- .github/workflows/release.yml | 46 +++++++++--------- .github/workflows/resync-build.yml | 10 ++-- .github/workflows/run-acceptance-tests.yml | 38 +++++++-------- scripts/upstream.sh | 2 +- 9 files changed, 100 insertions(+), 100 deletions(-) diff --git a/.github/workflows/check-upstream-upgrade.yml b/.github/workflows/check-upstream-upgrade.yml index 591770dbc..fc483816a 100644 --- a/.github/workflows/check-upstream-upgrade.yml +++ b/.github/workflows/check-upstream-upgrade.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index d031da1e1..e00326f8a 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -43,13 +43,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ env.PR_COMMIT_SHA }} - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f04e1113c..da2618434 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -44,7 +44,7 @@ jobs: - name: Checkout Repo uses: actions/checkout@v4 - name: Install go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: # The versions of golangci-lint and setup-go here cross-depend and need to update together. go-version: 1.21 @@ -60,7 +60,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.54.1 + version: v1.55.2 working-directory: provider - if: failure() && github.event_name == 'push' name: Notify Slack diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 6cdbf9332..071120379 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -47,7 +47,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -58,24 +58,24 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: gradle distribution: temurin @@ -85,7 +85,7 @@ jobs: with: gradle-version: ${{ env.GRADLEVERSION }} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -109,7 +109,7 @@ jobs: - name: Compress SDK folder run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} . - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz @@ -141,7 +141,7 @@ jobs: - name: Checkout Repo uses: actions/checkout@v4 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_CORP_S3_UPLOAD_ACCESS_KEY_ID }} aws-region: us-west-2 @@ -155,7 +155,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -166,7 +166,7 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - if: github.event_name == 'pull_request' @@ -206,7 +206,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -217,7 +217,7 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - if: github.event_name == 'pull_request' @@ -258,7 +258,7 @@ jobs: github.workspace }}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER }} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin/provider.tar.gz @@ -284,7 +284,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -295,11 +295,11 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: us-east-2 @@ -380,7 +380,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -391,24 +391,24 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: gradle distribution: temurin @@ -418,7 +418,7 @@ jobs: with: gradle-version: ${{ env.GRADLEVERSION }} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -430,7 +430,7 @@ jobs: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print -exec chmod +x {} \; - run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/ diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 1a20daa5b..5e649a3d8 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -48,7 +48,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -59,24 +59,24 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: gradle distribution: temurin @@ -86,7 +86,7 @@ jobs: with: gradle-version: ${{ env.GRADLEVERSION }} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -110,7 +110,7 @@ jobs: - name: Compress SDK folder run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} . - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz @@ -149,7 +149,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -160,7 +160,7 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - if: github.event_name == 'pull_request' @@ -201,7 +201,7 @@ jobs: github.workspace }}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER }} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin/provider.tar.gz @@ -227,7 +227,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -238,11 +238,11 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: us-east-2 @@ -305,7 +305,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -316,24 +316,24 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: gradle distribution: temurin @@ -343,7 +343,7 @@ jobs: with: gradle-version: ${{ env.GRADLEVERSION }} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -355,7 +355,7 @@ jobs: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print -exec chmod +x {} \; - run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4193faca..590e2a50f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -58,24 +58,24 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: gradle distribution: temurin @@ -85,7 +85,7 @@ jobs: with: gradle-version: ${{ env.GRADLEVERSION }} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -109,7 +109,7 @@ jobs: - name: Compress SDK folder run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} . - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz @@ -163,7 +163,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -174,7 +174,7 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - if: github.event_name == 'pull_request' @@ -215,7 +215,7 @@ jobs: github.workspace }}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER }} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin/provider.tar.gz @@ -241,7 +241,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -252,11 +252,11 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: us-east-2 @@ -322,7 +322,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Unshallow clone for PR merge bases run: git fetch --prune --unshallow --tags - name: Clean up release labels @@ -353,7 +353,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -364,24 +364,24 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: gradle distribution: temurin @@ -391,7 +391,7 @@ jobs: with: gradle-version: ${{ env.GRADLEVERSION }} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -403,7 +403,7 @@ jobs: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print -exec chmod +x {} \; - run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/ diff --git a/.github/workflows/resync-build.yml b/.github/workflows/resync-build.yml index d72e3d988..6d5d73e0a 100644 --- a/.github/workflows/resync-build.yml +++ b/.github/workflows/resync-build.yml @@ -50,7 +50,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -61,20 +61,20 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Setup DotNet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHONVERSION }} - name: Sync with ci-mgmt diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 1dde904da..cfcd41ff4 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -57,7 +57,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -68,24 +68,24 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: gradle distribution: temurin @@ -95,7 +95,7 @@ jobs: with: gradle-version: ${{ env.GRADLEVERSION }} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -119,7 +119,7 @@ jobs: - name: Compress SDK folder run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} . - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz @@ -172,7 +172,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -183,7 +183,7 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - if: github.event_name == 'pull_request' @@ -224,7 +224,7 @@ jobs: github.workspace }}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER }} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin/provider.tar.gz @@ -299,7 +299,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: cache-dependency-path: | sdk/go.sum @@ -310,24 +310,24 @@ jobs: tag: v0.0.46 repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/actions@v4 + uses: pulumi/actions@v5 with: pulumi-version: ^3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: gradle distribution: temurin @@ -337,7 +337,7 @@ jobs: with: gradle-version: ${{ env.GRADLEVERSION }} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -349,7 +349,7 @@ jobs: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print -exec chmod +x {} \; - run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/ diff --git a/scripts/upstream.sh b/scripts/upstream.sh index 7a5ed4a55..eddf7df10 100755 --- a/scripts/upstream.sh +++ b/scripts/upstream.sh @@ -149,7 +149,7 @@ make "$1"' failed to apply ${patch}. This is because there is a conflict between the checked out version of upstream and the patch set. To resolve this conflict run: - FROM=\$LAST_KNOWN_GOOD_COMMIT make upstream.rebase + FROM=\$LAST_KNOWN_GOOD_COMMIT TO=\$NEW_COMMIT make upstream.rebase This will walk you through resolving the conflict and producing a patch set that cleanly applies to the current upstream.