Skip to content

Commit

Permalink
ci: fix artifact paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpollo committed Nov 22, 2024
1 parent 88552f9 commit 91bd14c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build_all_targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ jobs:
ccache -s
ccache -z
- name: Missing dependencies for ${{ matrix.arch }}
if: contains(fromJSON('["aarch64", "armhf"]'), matrix.arch)
run: |
Expand All @@ -125,9 +124,6 @@ jobs:
run: |
./Tools/ci/build_all_runner.sh ${{matrix.targets}} ${{matrix.arch}}
- name: Debug PATHS
uses: mxschmitt/action-tmate@v3

- name: Arrange Build Artifacts
run: |
./Tools/ci/package_build_artifacts.sh
Expand Down
6 changes: 3 additions & 3 deletions Tools/ci/package_build_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ mkdir artifacts
cp **/**/*.px4 artifacts/
cp **/**/*.elf artifacts/
for build_dir_path in build/*/ ; do
build_dir_path=${build_dir_path#*/}
build_dir=$build_dir_path
build_dir=${build_dir::${#build_dir}-1}
build_dir_path=${build_dir_path::${#build_dir_path}-1}
build_dir=${build_dir_path#*/}
target_name=$build_dir
mkdir artifacts/$build_dir
find artifacts/ -maxdepth 1 -type f -name "*$build_dir*"
# Airframe
Expand Down

0 comments on commit 91bd14c

Please sign in to comment.