From 2d0965093139f3a659b569067bc0ae2da9a200cf Mon Sep 17 00:00:00 2001 From: daniel-irenen Date: Fri, 22 Nov 2024 12:38:03 +0100 Subject: [PATCH] updated the github actions workflow to use upload/download artifacts v4 --- .github/workflows/integration_tests.yml | 12 ++++++------ .github/workflows/release.yml | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index cd8112e27335b..bb29e863a7218 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -64,8 +64,8 @@ jobs: # # https://github.com/actions/upload-artifact/issues/8 - name: Upload artifact - # actions/upload-artifact@v1 - uses: actions/upload-artifact@3446296 + # actions/upload-artifact@v4 + uses: actions/upload-artifact@v4 with: name: image-archives path: /home/runner/archives @@ -88,8 +88,8 @@ jobs: restore-keys: | ${{ runner.os }}-go- - name: Download image archives - # actions/download-artifact@v1 - uses: actions/download-artifact@18f0f59 + # actions/download-artifact@v4 + uses: actions/download-artifact@v4 with: name: image-archives - name: Run CLI Integration tests @@ -133,8 +133,8 @@ jobs: . bin/_docker.sh echo "DOCKER_REGISTRY=$DOCKER_REGISTRY" >> $GITHUB_ENV - name: Download image archives - # actions/download-artifact@v1 - uses: actions/download-artifact@18f0f59 + # actions/download-artifact@v4 + uses: actions/download-artifact@v4 with: name: image-archives - name: Load cli-bin image into local docker images diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1af959fd9983..41a3ac3fa58b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,8 +65,8 @@ jobs: # https://github.com/actions/upload-artifact/issues/8 - name: Upload artifact if: matrix.target == 'cli-bin' - # actions/upload-artifact@v1 - uses: actions/upload-artifact@3446296 + # actions/upload-artifact@v4 + uses: actions/upload-artifact@v4 with: name: image-archives path: /home/runner/archives @@ -88,8 +88,8 @@ jobs: key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-go- - name: Download image archives - # actions/download-artifact@v1 - uses: actions/download-artifact@18f0f59 + # actions/download-artifact@v4 + uses: actions/download-artifact@v4 with: name: image-archives - name: Run CLI Integration tests @@ -211,8 +211,8 @@ jobs: args: pack bin/win/linkerd.nuspec - name: Chocolatey - upload package if: startsWith(github.ref, 'refs/tags/stable') - # actions/upload-artifact@v2.01 - uses: actions/upload-artifact@97b7dac + # actions/upload-artifact@v4 + uses: actions/upload-artifact@v4 with: name: choco path: ./linkerd.*.nupkg @@ -234,8 +234,8 @@ jobs: extract_release_notes NOTES.md - name: Download choco package if: startsWith(github.ref, 'refs/tags/stable') - # actions/download-artifact@v1 - uses: actions/download-artifact@18f0f59 + # actions/download-artifact@v4 + uses: actions/download-artifact@v4 with: name: choco - name: Pull CLI binaries