mirror of https://github.com/ArduPilot/ardupilot
github: use zip rather than tar for elf_diff artifact
This commit is contained in:
parent
83d3aace44
commit
98196e3cdd
|
@ -111,15 +111,14 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install -U weasyprint elf_diff anytree
|
python3 -m pip install -U weasyprint elf_diff anytree
|
||||||
python3 -m elf_diff --bin_prefix=arm-none-eabi- --html_dir=plane $GITHUB_WORKSPACE/master_bin/arduplane $GITHUB_WORKSPACE/pr_bin/arduplane
|
|
||||||
python3 -m elf_diff --bin_prefix=arm-none-eabi- --html_dir=copter $GITHUB_WORKSPACE/master_bin/arducopter $GITHUB_WORKSPACE/pr_bin/arducopter
|
|
||||||
mkdir elf_diff
|
mkdir elf_diff
|
||||||
tar cf elf_diff/plane.tar plane
|
python3 -m elf_diff --bin_prefix=arm-none-eabi- --html_dir=elf_diff/plane $GITHUB_WORKSPACE/master_bin/arduplane $GITHUB_WORKSPACE/pr_bin/arduplane
|
||||||
tar cf elf_diff/copter.tar copter
|
python3 -m elf_diff --bin_prefix=arm-none-eabi- --html_dir=elf_diff/copter $GITHUB_WORKSPACE/master_bin/arducopter $GITHUB_WORKSPACE/pr_bin/arducopter
|
||||||
|
zip -r elf_diff.zip elf_diff
|
||||||
|
|
||||||
- name: Archive elf_diff output
|
- name: Archive elf_diff output
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ELF_DIFF_${{matrix.config}}
|
name: ELF_DIFF_${{matrix.config}}
|
||||||
path: elf_diff
|
path: elf_diff.zip
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
|
|
Loading…
Reference in New Issue