Skip to content

Commit

Permalink
updated the github actions workflow to use upload/download artifacts v4
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-irenen committed Nov 22, 2024
1 parent 8eab38d commit 2d09650
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2d09650

Please sign in to comment.