File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ jobs:
155
155
run : |
156
156
if [ "${{ needs.call_get_app_metadata.outputs.is_rust }}" = "true" ];
157
157
then
158
- C_DEVICE_NAME="$(echo ${{ matrix.device }} | tr nanosp nanos2)" && \
158
+ C_DEVICE_NAME="$(echo ${{ matrix.device }} | sed 's/ nanosp/ nanos2/' )" && \
159
159
echo "C_DEVICE_NAME=$C_DEVICE_NAME" && \
160
160
RUST_DEVICE_NAME="$(echo ${{ matrix.device }} | sed 's/sp/splus/')" && \
161
161
echo "RUST_DEVICE_NAME=$RUST_DEVICE_NAME" && \
@@ -164,7 +164,7 @@ jobs:
164
164
mv ${{ steps.build.outputs.binary_path }}${RUST_DEVICE_NAME}/release/${ELF_NAME} ${{ steps.build.outputs.binary_path }}/${{ inputs.upload_as_lib_artifact }}_${C_DEVICE_NAME}.elf && \
165
165
rm -rf ${{ steps.build.outputs.binary_path }}${RUST_DEVICE_NAME}
166
166
else
167
- DEVICE_NAME="$(echo ${{ matrix.device }} | tr nanosp nanos2)" && \
167
+ DEVICE_NAME="$(echo ${{ matrix.device }} | sed 's/ nanosp/ nanos2/' )" && \
168
168
find ${{ needs.call_get_app_metadata.outputs.build_directory }}/build/${DEVICE_NAME}/ -type f -name 'app.elf' -exec mv {} ${{ inputs.upload_as_lib_artifact }}_${DEVICE_NAME}.elf \; && \
169
169
rm -r ${{ needs.call_get_app_metadata.outputs.build_directory }}/build/* && \
170
170
mv ${{ inputs.upload_as_lib_artifact }}_${DEVICE_NAME}.elf ${{ needs.call_get_app_metadata.outputs.build_directory }}/build/
You can’t perform that action at this time.
0 commit comments