Skip to content

Commit 79982e1

Browse files
committed
fix actions/upload-artifact
1 parent 8cfac46 commit 79982e1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ jobs:
5050
run: go test -failfast -v -timeout=300s -coverprofile=profile.cov ./...
5151

5252
- name: Upload coverage profile
53-
uses: actions/upload-artifact@v5
53+
uses: actions/upload-artifact@v4
5454
with:
55-
name: coverage-profile
55+
name: coverage-profile-${{ github.run_id }}
5656
path: profile.cov
57+
retention-days: 1
5758

5859
- name: Run GoReleaser
5960
uses: goreleaser/goreleaser-action@v6
@@ -69,9 +70,9 @@ jobs:
6970
steps:
7071

7172
- name: Download coverage profile
72-
uses: actions/download-artifact@v5
73+
uses: actions/download-artifact@v4
7374
with:
74-
name: coverage-profile
75+
name: coverage-profile-${{ github.run_id }}
7576

7677
- name: Send coverage to Coveralls
7778
uses: coverallsapp/github-action@v2

0 commit comments

Comments
 (0)