From 26ec00c9e543ab75146289063dbc7bc869560747 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Sun, 16 Jun 2024 15:58:53 +0200 Subject: [PATCH] .github/workflows: update artifacts Actions Co-authored-by: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com> --- .github/workflows/build.yml | 9 +++++---- .github/workflows/ronn.yml | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5bb6a88..f85ec3a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: diff --git a/.github/workflows/ronn.yml b/.github/workflows/ronn.yml index 2900bb5..9d4d0ae 100644 --- a/.github/workflows/ronn.yml +++ b/.github/workflows/ronn.yml @@ -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/