From 047b2dbdbd8a3c83c099e6922fd6b82f4afcc521 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 30 Sep 2022 14:00:22 +0200 Subject: [PATCH] Fix zip creation to include subfolders --- .github/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5d4e099..424c5a87 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,12 +47,19 @@ jobs: command: build args: --release -p dora-runtime -p dora-coordinator -p dora-cli - - name: "Prepare iceoryx (Unix)" + - name: "Create Archive (Unix)" if: runner.os == 'Linux' || runner.os == 'macOS' run: | + mkdir archive + cd archive + cp target/release/dora-runtime . + cp target/release/dora-coordinator . + cp target/release/dora . mkdir iceoryx find target -type f -wholename "*/iceoryx-install/bin/iox-roudi" -exec cp {} iceoryx \; find target -type f -wholename "*/iceoryx-install/share/doc/iceoryx_posh/LICENSE" -exec cp {} iceoryx \; + zip -r ../archive.zip . + cd .. - name: Create Archive (Unix) if: runner.os == 'Linux' || runner.os == 'macOS'