From 9cefe418bf212af6a22e54dfd2a4039a490a31cf Mon Sep 17 00:00:00 2001 From: Oscar Cobles Date: Tue, 17 Sep 2024 12:30:40 +0200 Subject: [PATCH 1/3] chore: upgrade deprecated action upload-artifact Signed-off-by: Oscar Cobles --- .github/workflows/release.yml | 4 ++-- .github/workflows/run-acceptance-tests.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 805a6b67..6016480c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,7 +71,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 @@ -170,7 +170,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 diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 590e179b..ec6dba51 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -211,7 +211,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 From 48cd58e0f3c56b5988c7e66c9bbaed6710ef9a6f Mon Sep 17 00:00:00 2001 From: Oscar Cobles Date: Tue, 17 Sep 2024 14:16:32 +0200 Subject: [PATCH 2/3] fixup! chore: upgrade deprecated action upload-artifact Signed-off-by: Oscar Cobles --- .github/workflows/run-acceptance-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index ec6dba51..6afc15bf 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -102,7 +102,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 From cb0f380e578456a4dfaad371aa42fef11d5e0a0a Mon Sep 17 00:00:00 2001 From: Oscar Cobles Date: Tue, 17 Sep 2024 17:11:08 +0200 Subject: [PATCH 3/3] upgrade action download-artifact accordingly Signed-off-by: Oscar Cobles --- .github/workflows/release.yml | 2 +- .github/workflows/run-acceptance-tests.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6016480c..0f2d6967 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -139,7 +139,7 @@ jobs: # Pin to known good version until #2262 is resolved gradle-version: ${{ env.GRADLEVERSION }} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 6afc15bf..7293422d 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -78,7 +78,7 @@ jobs: with: gradle-version: "7.6" - name: Download provider + tfgen binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -320,7 +320,7 @@ jobs: with: gradle-version: "7.6" - name: Download provider + tfgen binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -332,7 +332,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@v3 + uses: actions/download-artifact@v4 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/