From 21a266e302034289507ee1e4b21da1d3d55a46ae Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 11 May 2024 16:33:10 +0200 Subject: [PATCH] Update upload-artifact action to v4 https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md#multiple-uploads-to-the-same-named-artifact --- .github/workflows/build-and-release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index dc7d4cc..1f60c59 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -49,9 +49,9 @@ jobs: run: mv dist/pferd* dist/pferd-${{ matrix.os }} - name: Upload binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: Binaries + name: pferd-${{ matrix.os }} path: dist/pferd-${{ matrix.os }} release: @@ -61,9 +61,10 @@ jobs: steps: - name: Download binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: Binaries + pattern: pferd-* + merge-multiple: true - name: Rename binaries run: |