Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Release workflow to get rid of set-env command #82

Open
PhilippvK opened this issue Jan 27, 2021 · 4 comments
Open

Rewrite Release workflow to get rid of set-env command #82

PhilippvK opened this issue Jan 27, 2021 · 4 comments

Comments

@PhilippvK
Copy link
Owner

Recent release had the following issue:

Unable to process command '::set-env name=VERSION::2.1.1.0-BETA' successfully.
---
The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Further details:
https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#stopping-and-starting-workflow-commands

@PhilippvK
Copy link
Owner Author

Quick workaround for now:

ACTIONS_ALLOW_UNSECURE_COMMANDS: true

@pehala Are you interested in using Environment files instead of set-env for performing the same job?

@PhilippvK
Copy link
Owner Author

ACTIONS_ALLOW_UNSECURE_COMMANDS: true works fine for me and does not need to be replaced.

@pehala
Copy link
Collaborator

pehala commented Apr 3, 2021

We can use it at least temporarily, but it is deprecated and probably will be removed in the future. I suggest we leave the issue open (or create a new one) if we decide to go that round so we don't forget to rewrite it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants