Skip to content

Commit

Permalink
.github/workflows: update artifacts Actions
Browse files Browse the repository at this point in the history
Co-authored-by: Rene Leonhardt <[email protected]>
  • Loading branch information
FiloSottile and reneleonhardt committed Jun 16, 2024
1 parent 1e1bada commit bbe6ce5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- {GOOS: freebsd, GOARCH: amd64}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.x
- name: Checkout repository
Expand Down Expand Up @@ -62,9 +62,9 @@ jobs:
GOARCH: ${{ matrix.GOARCH }}
GOARM: ${{ matrix.GOARM }}
- name: Upload workflow artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: age-binaries
name: age-binaries-${{ matrix.GOOS }}-${{ matrix.GOARCH }}
path: age-*
upload:
name: Upload release binaries
Expand All @@ -75,9 +75,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download workflow artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: age-binaries
pattern: age-binaries-*
merge-multiple: true
- name: Upload release artifacts
run: gh release upload "$GITHUB_REF_NAME" age-*
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ronn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
mv "$f.tmp" "$f"
done
- name: Upload generated files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: man-pages
path: |
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Download generated files
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: man-pages
path: doc/
Expand Down

0 comments on commit bbe6ce5

Please sign in to comment.