snapcraft login broke starting June 15, 2022
From https://github.com/mltframework/shotcut/runs/6906541923?check_suite_focus=true, using version 1.2.0:
--with is no longer supported, export the auth to the environment variable 'SNAPCRAFT_STORE_CREDENTIALS' instead
See related https://github.com/certbot/certbot/issues/9323
On a previous build, I got a different login failure "This login method is not longer supported." So, I thought I needed to re-export a token to my secrets, which I did but then got the above.
See snapcraft updated doc on the matter.
+1, looks like the token should be removed from this action config and document that SNAPCRAFT_STORE_CREDENTIALS should be used where needed instead.
Thanks for the tip @Saviq