Bump upload and download actions to v4 (#9666)

Signed-off-by: Derek Nola <derek.nola@suse.com>
pull/9733/head
Derek Nola 2024-03-07 15:56:43 -08:00
parent 1438a7d57b
commit 83d1a2cd42
4 changed files with 5 additions and 5 deletions

View File

@ -30,13 +30,13 @@ jobs:
mv ../k3s-repo.tar.gz . mv ../k3s-repo.tar.gz .
- name: "Upload K3s directory" - name: "Upload K3s directory"
if: inputs.upload-repo == true if: inputs.upload-repo == true
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: k3s-repo.tar.gz name: k3s-repo.tar.gz
path: k3s-repo.tar.gz path: k3s-repo.tar.gz
- name: "Upload K3s binary" - name: "Upload K3s binary"
if: inputs.upload-repo == false if: inputs.upload-repo == false
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: k3s name: k3s
path: dist/artifacts/k3s* path: dist/artifacts/k3s*

View File

@ -59,7 +59,7 @@ jobs:
go-version-file: 'go.mod' go-version-file: 'go.mod'
cache: false cache: false
- name: "Download k3s binary" - name: "Download k3s binary"
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: k3s name: k3s
path: ./dist/artifacts path: ./dist/artifacts

View File

@ -52,7 +52,7 @@ jobs:
- name: "Vagrant Plugin(s)" - name: "Vagrant Plugin(s)"
run: vagrant plugin install vagrant-k3s vagrant-reload vagrant-scp run: vagrant plugin install vagrant-k3s vagrant-reload vagrant-scp
- name: "Download k3s binary" - name: "Download k3s binary"
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: k3s name: k3s
path: tests/install/${{ matrix.vm }} path: tests/install/${{ matrix.vm }}

View File

@ -49,7 +49,7 @@ jobs:
- name: Install Go - name: Install Go
uses: ./.github/actions/setup-go uses: ./.github/actions/setup-go
- name: "Download k3s binary" - name: "Download k3s binary"
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: k3s name: k3s
path: ./dist/artifacts path: ./dist/artifacts