From 9ea0ffe63e605ec865f8e6b47dda151050be4c74 Mon Sep 17 00:00:00 2001 From: Sibi Prabakaran Date: Tue, 10 Dec 2024 10:39:37 +0530 Subject: [PATCH] Github actions: Fix artifacts name Hopefully having different artifacts name will fix the current CI issue. --- .github/workflows/rust.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 90eaf02..8f53e65 100755 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -80,13 +80,15 @@ jobs: cp target/aarch64-unknown-linux-musl/release/amber artifacts/amber-aarch64-unknown-linux-musl - uses: actions/upload-artifact@v4 with: - name: binaries + name: binaries-linux path: artifacts/* - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: - files: artifacts/amber-x86_64-unknown-linux-musl + files: | + artifacts/amber-x86_64-unknown-linux-musl + artifacts/amber-aarch64-unknown-linux-musl generate_release_notes: true macos-binary: @@ -109,7 +111,7 @@ jobs: cp target/release/amber artifacts/amber-x86_64-apple-darwin - uses: actions/upload-artifact@v4 with: - name: binaries + name: binaries-macos path: artifacts/* - name: Release uses: softprops/action-gh-release@v2 @@ -138,7 +140,7 @@ jobs: cp target/release/amber.exe artifacts/amber-x86_64-pc-windows-gnu.exe - uses: actions/upload-artifact@v4 with: - name: binaries + name: binaries-windows path: artifacts/* - name: Release uses: softprops/action-gh-release@v2