Skip to content

Commit f20010b

Browse files
committed
build: update upload/download actions
1 parent 2bcce1b commit f20010b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
if: runner.os != 'Linux'
4747
run: go test ./... -count 1 -short
4848

49-
- uses: actions/upload-artifact@v2
49+
- uses: actions/upload-artifact@v4
5050
if: ${{ always() }}
5151
with:
5252
name: "go-tooling-reports.zip"

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ jobs:
5353
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt
5454

5555
- name: Save Release URL File for publish
56-
uses: actions/upload-artifact@v1
56+
uses: actions/upload-artifact@v4
5757
with:
5858
name: release_url
5959
path: release_url.txt
60+
retention-days: 1
6061

6162
publish:
6263
name: Publish
@@ -76,9 +77,11 @@ jobs:
7677
uses: actions/checkout@v2
7778

7879
- name: Load Release URL File from release job
79-
uses: actions/download-artifact@v1
80+
uses: actions/download-artifact@v4
8081
with:
8182
name: release_url
83+
path: release_url
84+
retention-days: 1
8285

8386
- name: Install
8487
run: make install

0 commit comments

Comments
 (0)