Skip to content

Commit

Permalink
Add -q option when invoking cargo metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Feb 13, 2024
1 parent a7365eb commit c02752c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
cd ${{ needs.call_get_app_metadata.outputs.build_directory }} && \
cargo ledger build ${BUILD_DEVICE_NAME} -- -Zunstable-options --out-dir=./build/${BIN_DIR_NAME}/bin/ && \
echo "Build complete" && \
APP_NAME=$(cargo metadata --format-version=1 --no-deps | jq -r '.packages[].name') && \
APP_NAME=$(cargo metadata --format-version=1 --no-deps -q | jq -r '.packages[].name') && \
echo "APP_NAME=${APP_NAME}" && \
mv ./build/${BIN_DIR_NAME}/bin/${APP_NAME} ./build/${BIN_DIR_NAME}/bin/app.elf && \
echo "Binary ./build/${BIN_DIR_NAME}/bin/${APP_NAME} copied as ./build/${BIN_DIR_NAME}/bin/app.elf"
Expand Down

0 comments on commit c02752c

Please sign in to comment.