superfly / flyctl-actions

:octocat: GitHub Action that wraps the flyctl
Apache License 2.0
260 stars 33 forks source link

If releases API returns an error, surface in Actions #21

Closed jacobwgillespie closed 2 years ago

jacobwgillespie commented 2 years ago

Fixes an issue from #20, if the flyctl_releases endpoint returns an error status code, the error response is thrown as an error which will be caught and translated to core.setFailed() so that users are able to see why the request failed.

cc @jsierles

jacobwgillespie commented 2 years ago

Nice, thanks for the quick merge! 🎉