Skip to content

Commit

Permalink
build: update upload/download actions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Sep 27, 2024
1 parent 2bcce1b commit f20010b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: runner.os != 'Linux'
run: go test ./... -count 1 -short

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: "go-tooling-reports.zip"
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ jobs:
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt

- name: Save Release URL File for publish
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: release_url
path: release_url.txt
retention-days: 1

publish:
name: Publish
Expand All @@ -76,9 +77,11 @@ jobs:
uses: actions/checkout@v2

- name: Load Release URL File from release job
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: release_url
path: release_url
retention-days: 1

- name: Install
run: make install
Expand Down

0 comments on commit f20010b

Please sign in to comment.