From 7ef43b17f969093c560a0347ff8902e38720141e Mon Sep 17 00:00:00 2001 From: Roman Dmitrienko Date: Sun, 10 Nov 2024 16:53:52 +0100 Subject: [PATCH] Fix executable filenames. --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72b369f..be4e5db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,14 @@ jobs: with: pattern: hub-recovery-* path: artifacts - merge-multiple: true + + - name: Copy and rename executables + run: | + mkdir -p out + cp artifacts/hub-recovery-x86_64-unknown-linux-gnu/hub-recovery out/hub-recovery-linux-x86_64 + cp artifacts/hub-recovery-aarch64-unknown-linux-gnu/hub-recovery out/hub-recovery-linux-aarch64 + cp artifacts/hub-recovery-x86_64-pc-windows-msvc/hub-recovery.exe out/hub-recovery-windows-x86_64.exe + cp artifacts/hub-recovery-universal-apple-darwin/hub-recovery out/hub-recovery-macos - name: Create release without tag if: github.ref_type != 'tag' @@ -52,4 +59,4 @@ jobs: --generate-notes \ --draft \ --verify-tag \ - ./artifacts/* + ./out/*