Skip to content

Commit

Permalink
Extract subdirectory name for building packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mthmulders committed Dec 17, 2023
1 parent 7d01ff0 commit 5d61043
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d61043

Please sign in to comment.