From f0ea2d27cce21110d33de5f34d34bb04abddafc0 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:49:42 -0800 Subject: [PATCH] Update GitHub Actions workflows. (#230) 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 591770d..fc48381 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 463e8fa..afa9d7a 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -41,13 +41,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 1ff4a1c..c74d6cb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -42,7 +42,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 @@ -58,7 +58,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 cd20a08..80c99db 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -45,7 +45,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 @@ -56,24 +56,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 @@ -83,7 +83,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 @@ -107,7 +107,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 @@ -139,7 +139,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 @@ -153,7 +153,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 @@ -164,7 +164,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' @@ -208,7 +208,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 @@ -219,7 +219,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' @@ -260,7 +260,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 @@ -286,7 +286,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 @@ -297,11 +297,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 @@ -382,7 +382,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 @@ -393,24 +393,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 @@ -420,7 +420,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 @@ -432,7 +432,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 a892ce1..02cb84d 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -46,7 +46,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 @@ -57,24 +57,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 @@ -84,7 +84,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 @@ -108,7 +108,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 @@ -151,7 +151,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 @@ -162,7 +162,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' @@ -203,7 +203,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 @@ -229,7 +229,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 @@ -240,11 +240,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 @@ -307,7 +307,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 @@ -318,24 +318,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 @@ -345,7 +345,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 @@ -357,7 +357,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 ac977e1..f81b01f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,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 @@ -56,24 +56,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 @@ -83,7 +83,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 @@ -107,7 +107,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 @@ -165,7 +165,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 @@ -176,7 +176,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' @@ -217,7 +217,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 @@ -243,7 +243,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 @@ -254,11 +254,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 @@ -324,7 +324,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 @@ -355,7 +355,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 @@ -366,24 +366,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 @@ -393,7 +393,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 @@ -405,7 +405,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 c66e7dc..984fb55 100644 --- a/.github/workflows/resync-build.yml +++ b/.github/workflows/resync-build.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,20 +59,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 c1b5653..a2bf883 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -55,7 +55,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 @@ -66,24 +66,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 @@ -93,7 +93,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 @@ -117,7 +117,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 @@ -176,7 +176,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 @@ -187,7 +187,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' @@ -228,7 +228,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 @@ -304,7 +304,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 @@ -315,24 +315,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 @@ -342,7 +342,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 @@ -354,7 +354,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 7a5ed4a..eddf7df 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.