Skip to content

Commit

Permalink
Ci: carbonix_build.yml fix job name.
Browse files Browse the repository at this point in the history
Previously in job name the complete path was being used, which was
causing issues to see the job name in the github actions.
This commit fixes the job name to only show the Aircraft name.
  • Loading branch information
loki077 committed Dec 30, 2024
1 parent a36f2c6 commit c845db8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/carbonix_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,10 @@ jobs:
- name: Collect XML files
id: collect
run: |
xml_files=$(find libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/aircraft_configuration -name "*.xml" -print0 | xargs -0 echo | tr -d '\n' | jq -R -s -c 'split(" ")')
xml_files=$(find libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/aircraft_configuration -name "*.xml" -print0 | \
xargs -0 -n 1 basename | \
sed 's/.xml$//' | \
jq -R -s -c 'split("\n")[:-1]')
echo "aircraft-config-files=$xml_files" >> $GITHUB_OUTPUT
process-ac:
Expand Down Expand Up @@ -317,8 +320,7 @@ jobs:

- name: Run aircraft_config.py
run: |
python Tools/Carbonix_scripts/aircraft_config.py ${{ matrix.xml_file }} ${{ env.commit_id }}
ls -la final-output/*/ || echo "No files found"
python Tools/Carbonix_scripts/aircraft_config.py "libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/aircraft_configuration/${{ matrix.xml_file }}.xml" "${{ env.commit_id }}"
- name: Install AWS CLI
run: |
Expand Down

0 comments on commit c845db8

Please sign in to comment.