Skip to content

The set-env command is disabled when running in GitHub Actions #5

@slsu0424

Description

@slsu0424

I tried re-running the pipeline (after Initializing-KeyVault) using GitHub actions.

I got this error when deploying to Dev:

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/

However, when I run this pipeline in Azure DevOps, it deploys to DEV, QA, and PROD with no issue.

Any guidance?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions