newrelic / deployment-marker-action

Github Action for recording a Deployment Marker in New Relic
https://github.com/marketplace/actions/new-relic-application-deployment-marker
Apache License 2.0
61 stars 24 forks source link

Remove set-env in favor of environment variables file #13

Closed B0go closed 3 years ago

B0go commented 3 years ago

As of October 1, Github deprecated the set-env command in favor of environment variables files: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

All actions using set-env from now on produce a warning while executing as can be seen in this image:

Screen Shot 2020-11-05 at 22 59 31

This PR updates the current example and test workflow to use environment files

Environment files docs: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable

Signed-off-by: B0go victorbogo@icloud.com

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.