alexjurkiewicz / ecr-scan-image

Github Action to run AWS ECR vulnerability scan on Docker image
MIT License
29 stars 23 forks source link

Deprecation warning due to set-output #27

Closed prachisr closed 2 years ago

prachisr commented 2 years ago

Github Actions is deprecating the use of set-output and save-state. More details https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/. On running the action we currently get the following warning: The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files.

The actions version needs to be upgraded to v1.10.0 or higher to fix

s-a-tanjim commented 1 year ago

I don't think the issue is solved yet. Still getting the same warning.

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands
pzi commented 1 year ago

I don't think the issue is solved yet. Still getting the same warning.

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands

@s-a-tanjim make sure you are using the latest version in your workflow otherwise happy for you to pick it up and propose code changes :)

s-a-tanjim commented 1 year ago

@pzi Ohhh my bad. Thanks for the comment. I was following the Readme.md file and got the warning. I created the pull request to update the readme file. Thanks.