[ISSUE]Network Error: Unable to upload or publish my library

Hi Rick,

Thank you very much for this prompt answer!

You mentioned the size as a likely cause in an older comment, so I double-checked this already.

If you look at the complete log, you’ll see that my script creates a temporary directory and copies the relevant files there, so as to be sure no extra file is included. Here is a simplified version of this script:

WORKDIR=$(mktemp -d)
cp README.md $WORKDIR/README.md
cp CHANGELOG.md $WORKDIR/CHANGELOG.md
cp library.properties $WORKDIR/library.properties
cp LICENSE.txt $WORKDIR/LICENSE.txt
cp -r src $WORKDIR/
cp -r examples $WORKDIR/
cd $WORKDIR
particle library upload -v

Also, the GitHub workflow works with a fresh clone of the repo, so even if I didn’t implement this temporary folder trick, the upload could not be more than 480KB (or 1.6MB uncompressed).

Lastly, when running the exact same commands on my machine, I get the following output:

+ particle library upload -v
Validating library at /tmp/tmp.MTm6SXdZS3/
Uploading library ArduinoJson
> Library ArduinoJson was successfully uploaded.

As you can see, it says “Validating library at $WORKDIR” before uploading.
This line is absent in the GitHub job’s log.

In summary, I really doubt that size is an issue here.
Any other ideas?

Best regards,
Benoit