Skip to content

Commit

Permalink
mods
Browse files Browse the repository at this point in the history
SW-191
  • Loading branch information
loki077 committed May 10, 2024
1 parent 6dc5139 commit 4a59bd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/carbonix_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,11 @@ jobs:
- name: Extract firmware version and commit id
id: extract_info
run: |
FIRMWARE_VERSION=$(grep -oP '#define AP_CUSTOM_FIRMWARE_STRING "\K(.*)(?=")' /libraries/AP_Common/AP_FWVersionDefine.h)
FIRMWARE_VERSION=$(grep -oP '#define AP_CUSTOM_FIRMWARE_STRING "\K(.*)(?=")' libraries/AP_Common/AP_FWVersionDefine.h)
COMMIT_ID=$(git rev-parse --short HEAD)
echo "firmware_version=$FIRMWARE_VERSION" >> $GITHUB_ENV
echo "commit_id=$COMMIT_ID" >> $GITHUB_ENV
shell: sh -e {0}
- name: Gather build output
run: |
mkdir temp
Expand Down

0 comments on commit 4a59bd6

Please sign in to comment.