Skip to content

Commit

Permalink
Merge pull request #1190 from gliptak/artifact1
Browse files Browse the repository at this point in the history
Bump upload-artifact/download-artifact actions to v4
  • Loading branch information
mapkon authored Dec 19, 2023
2 parents 2a0c76d + 2bf4691 commit 5d12bc4
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
go test -v ./... -coverprofile=${{ matrix.os }}_coverage.txt -covermode=atomic
- name: Upload coverage report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: reports
name: ${{ matrix.os }}_reports
path: ${{ matrix.os }}_coverage.txt
if-no-files-found: error
retention-days: 1
Expand Down Expand Up @@ -63,10 +63,17 @@ jobs:
needs: [build]
steps:
- uses: actions/checkout@v4
- name: Download coverage reports
uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: reports
name: ubuntu-latest_reports
path: reports
- uses: actions/download-artifact@v4
with:
name: macOS-latest_reports
path: reports
- uses: actions/download-artifact@v4
with:
name: macos-11_reports
path: reports

- name: Codecov
Expand Down Expand Up @@ -104,7 +111,7 @@ jobs:
args: build --snapshot --clean --config .goreleaser.${{ matrix.os }}.yml

- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: saml2aws
name: ${{ matrix.os }}_saml2aws
path: dist/

0 comments on commit 5d12bc4

Please sign in to comment.