From 41e5ecd4527a9368f27aa5cff7d9659214d1e210 Mon Sep 17 00:00:00 2001 From: Daniel Souza Date: Thu, 7 Mar 2024 15:11:27 -0300 Subject: [PATCH] fix: fix upload of linux prebuilds --- .github/workflows/release.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc94c43..90336d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -134,12 +134,8 @@ jobs: files: ./build/Release outPath: speech-recorder-v${{inputs.version}}-napi-v6-darwin-x64.tar.gz - - name: Upload artifacts - uses: actions/upload-artifact@v3 - with: - name: speech-recorder-dist - path: speech-recorder-*.tar.gz - retention-days: 1 + - name: Cleanup macos build + run: rm -rf build/Release - name: Download linux build artifacts uses: actions/download-artifact@v3 @@ -154,6 +150,13 @@ jobs: files: ./build/Release outPath: speech-recorder-v${{inputs.version}}-napi-v6-linux-x64.tar.gz + - name: Upload artifacts + uses: actions/upload-artifact@v3 + with: + name: speech-recorder-dist + path: speech-recorder-*.tar.gz + retention-days: 1 + - name: Cleanup linux build run: rm -rf build/Release