How to publish library to PlatformIO via github action

I have my project building and testing fine via CI and github.

tig/FlashStringTable: Arduino helper for accessing strings from flash memory (github.com)

I’d really like to publish it automatically when I create a new release tag.

I haven’t found any examples of doing this. Anyone?

  1. Generate and set PLATFORMIO_AUTH_TOKEN.
  2. Use Redirecting...
1 Like

the documentation is sparse. It says what the parameters may be but does not seem to tel you how to do this. Can anyone point me to some kind of tutorial? I can’t seem to work out the magic search term needed to find one.

See how to manage environment variables on GitHub Actions Variables - GitHub Docs