Skip to content

Commit

Permalink
CI : build.zip file changes WIP
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Pradeep-Carbonix committed Feb 8, 2024
1 parent 200ea68 commit 72d3de9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/carbonix_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 72d3de9

Please sign in to comment.