From 5d61043f7b699aca35207b7f2f2a862f0ec77f01 Mon Sep 17 00:00:00 2001 From: Maarten Mulders Date: Sun, 17 Dec 2023 14:37:58 +0100 Subject: [PATCH] Extract subdirectory name for building packages --- .github/workflows/build-packages.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index 862dc76..ccb08b0 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -81,7 +81,10 @@ jobs: - name: Restructure target directory run: | - mv -v /tmp/artifacts/* target/ + for d in /tmp/artifacts/*-executables + do + mv $d target/$(echo $d | sed -e 's/-executables//g') + done ls -hl target/ file target/x86_64-unknown-linux-gnu/release/dsmr-rs file target/arm-unknown-linux-musleabihf/release/dsmr-rs