.github/workflows: update artifacts Actions

Co-authored-by: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com>
This commit is contained in:
Filippo Valsorda
2024-06-16 15:58:53 +02:00
parent 1e1badabf7
commit bbe6ce5eeb
2 changed files with 8 additions and 7 deletions

View File

@@ -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
@@ -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
@@ -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:

View File

@@ -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: |
@@ -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/