From 131d232786ff70226b7652d389cf767af4957429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Isager=20Dalsgar=C3=B0?= Date: Wed, 14 Feb 2024 19:35:10 +0100 Subject: [PATCH] Separate uploads for UNIX and Windows --- .github/workflows/prebuild.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index 52637d0..0e38918 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -29,8 +29,14 @@ jobs: - run: bare-dev configure - run: bare-dev build - uses: actions/upload-artifact@v4 + if: ${{ matrix.name == "linux-x64" || matrix.name == "darwin-x64" || matrix.name == "darwin-arm64" }} + with: + name: ${{ matrix.name }} + path: build/bin/bare + - uses: actions/upload-artifact@v4 + if: ${{ matrix.name == "win32-x64" }} with: name: ${{ matrix.name }} path: | - build/bin/bare build/bin/Release/bare.exe + build/bin/Release/bare.lib