Howdy all. Trying to use arduino-cli in GitHub actions, but the size in the boardsmanager json doesn’t match the download, so it fails.
arduino-cli core update-index --additional-urls https://boardsmanager.com/package_move38.com-blinks_index.json
arduino-cli core install arduino:avr
arduino-cli core install move38:avr --additional-urls https://boardsmanager.com/package_move38.com-blinks_index.json
Feedback from arduino-cli:
Error during install: installing platform move38:avr@1.2.0: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index
Full file:
Content of JSON on boardsmanager:
{
"packages": [
{
"name": "move38",
"maintainer": "Move38.com",
"websiteURL": "http://move38.com",
"email": "move38arduino@joshreply.com",
"help": {
"online": "https://github.com/bigjosh/Move38-Arduino-Platform"
},
"platforms": [
{
"name": "Blinks by Move38.com",
"architecture": "avr",
"version": "1.2.0",
"category": "Contributed",
"help": {
"online": "https://github.com/bigjosh/Move38-Arduino-Platform"
},
"url": "https://github.com/bigjosh/Move38-Arduino-Platform/releases/download/1.2/Move38-Arduino-Platform-main.zip",
"archiveFileName": "Move38-Arduino-Platform-main.zip",
"checksum": "SHA-256:EE61F574C3E3501D749A251D3004F0C78E2CCC9AEEB88C3A23EE173D69838201",
"size": "1334106",
"boards": [
{"name": "Blinks by Move38.com"}
],
"toolsDependencies": [
{
"packager": "arduino",
"name": "avr-gcc",
"version": "7.3.0-atmel3.6.1-arduino5"
},
{
"packager": "arduino",
"name": "avrdude",
"version": "6.3.0-arduino17"
}
]
}
],
"tools":[
]
}
]
}
Move38 needs to fix checksum / size for arduino-cli to work. A potential work around could be for someone to self-host a json with the correct information.