Skip to content

[Bug] GenerateBuildLogOutput for Github actions uses deprecated set-env command #2421

@danielmarbach

Description

@danielmarbach

Describe the bug

GitHub Actions is deprecating set-env and add-path commands as outlined by

https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Therefore starting from version 2.273.5 of the runner GenerateBuildLogOutput outputs

image

Environment files should be used instead

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

Expected Behavior

Use env files to not trigger the warning

Actual Behavior

image

Possible Fix

See PR

Steps to Reproduce

Run a build with GitVersion using GitHub actions

Context

Your Environment

  • Version Used:
  • Operating System and version (Windows 10, Ubuntu 18.04):
  • Link to your project:
  • Link to your CI build (if appropriate):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions