From 72d3de9d780bce64e219404d7a264f432e438916 Mon Sep 17 00:00:00 2001 From: Pradeep Date: Wed, 7 Feb 2024 17:14:35 -0800 Subject: [PATCH] CI : build.zip file changes WIP 1. copy Release Notes to the main build folder and every module build folders - echo - to list all directories - xargs - execute command lines from standard input 2. build_output.zip only contains bin folder. This was decided to save space --- .github/workflows/carbonix_build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/carbonix_build.yml b/.github/workflows/carbonix_build.yml index d5e591dac8..9436f0bf4a 100644 --- a/.github/workflows/carbonix_build.yml +++ b/.github/workflows/carbonix_build.yml @@ -197,7 +197,9 @@ jobs: run: sudo apt-get install zip - name: Archive build output run: | - zip -r build-output.zip build/ + echo build/*/bin/ | xargs -n 1 cp -v ArduPlane/ReleaseNotes.txt + cp -v ArduPlane/ReleaseNotes.txt build/ + zip -r build-output.zip build/*/bin/* - name: Archive production artifacts uses: actions/upload-artifact@v3 with: