Pinning to a specific tag is a common practice to avoid unexpected upgrades and introducing unwanted changes.
The v1 version of aws-actions/configure-aws-credentials contains deprecated setOutput API so the CI emits a warning (Ref: Previous GitHub Actions run). This can be avoided by using the v2 and it's always better to maintain the dependency on the latest version.
Why
v1
version ofaws-actions/configure-aws-credentials
contains deprecatedsetOutput
API so the CI emits a warning (Ref: Previous GitHub Actions run). This can be avoided by using thev2
and it's always better to maintain the dependency on the latest version.