diff --git a/collect-data/action.yml b/collect-data/action.yml index 747ac8a..ba1d387 100644 --- a/collect-data/action.yml +++ b/collect-data/action.yml @@ -47,7 +47,7 @@ runs: # read u-boot root_uuid=$(ssh -o StrictHostKeyChecking=no root@${{ inputs.DUT_IP }} "sed -e 's/^.*root=//' -e 's/ .*$//' < /proc/cmdline" || true) root_partition_device=$(ssh -o StrictHostKeyChecking=no root@${{ inputs.DUT_IP }} "blkid | tr -d '\":' | grep \"${root_uuid}\" | awk '{print \$1}' | rev | cut -c3- | rev" || true) - echo "UBOOT=$(ssh -o StrictHostKeyChecking=no root@${{ inputs.DUT_IP }} "dd status=none if=${root_partition_device} count=5000 | strings | grep armbian | grep U-Boot | tail -1 | grep -P \"[0-9]{4}.[0-9]{2}\" -o")" >> $GITHUB_ENV + echo "UBOOT=$(ssh -o StrictHostKeyChecking=no root@${{ inputs.DUT_IP }} "dd status=none if=${root_partition_device} count=5000 | strings | grep armbian | grep U-Boot | tail -1 | grep -P \"[0-9]{4}.[0-9]{2}\" -o" || true )" >> $GITHUB_ENV fi - name: "Armbianmonitor"