cloudflare / pages-action

MIT License
468 stars 95 forks source link

Unable to resolve action `cloudflare/pages-action@1` #66

Closed haithamalnaeb closed 1 year ago

haithamalnaeb commented 1 year ago

I'm using the documentation code, but a few hours ago I start getting this error on all repo in "Set up job" step

Error: Unable to resolve action cloudflare/pages-action@1, the provided ref 1 is the shortened version of a commit SHA, which is not supported. Please use the full commit SHA 1631a1483b9131d13c61c8c9e6db68f7c7f5d0ee instead.

Maybe the doc should be updated to cloudflare/pages-action@v1.4.0 by default

krisgardiner commented 1 year ago

Updating to cloudflare/pages-action@v1 worked for me.

WalshyDev commented 1 year ago

GitHub isn't liking the deprecated 1 tag because the commit starts with a 1... that's great.

Yeah as @krisgardiner said, v1 is the tag that should now be used. The old 1 tag was deprecated a few releases back. Please switch to v1.

WalshyDev commented 1 year ago

Done a new release to fix an unrelated issue but this should also resolve this one for now.

Note though the 1 tag is deprecated. Please switch to v1 to continue getting updates. We will stop publishing to 1 soon.