aws-actions / setup-sam

Action to set up AWS SAM CLI and add it to the PATH
Apache License 2.0
151 stars 23 forks source link

Allow setup sam to continue when failed to get release tag #93

Closed GavinZZ closed 9 months ago

GavinZZ commented 9 months ago

Which issue(s) does this change fix?

https://github.com/aws-actions/setup-sam/issues/91

Description

There's a bug from the previous PR to enable caching when version is not specified. When failed to get the latest tag from SAM CLI, we set it to failed state which stopped the execution.

However, we should have allowed it to continue and only logged the message.

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 License.