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 build folder
   - 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

3. deleted compiled-output for testing
  • Loading branch information
Pradeep-Carbonix committed Feb 7, 2024
1 parent 200ea68 commit a336d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/carbonix_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ 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
zip -r build-output.zip build/*/bin/*
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: compiled-output
path: build-output.zip
retention-days: 90

0 comments on commit a336d4e

Please sign in to comment.