Skip to content

GITHUB_ENV missing from @actions/core node process.env object #645

@nomad-mystic

Description

@nomad-mystic

I'm running into an issue when I try to use core.exportVariable() on version @actions/core@1.2.6.

Describe the bug
GITHUB_ENV is not part of the process.env object when calling core.exportVariable()

To Reproduce
Actions runner environment: https://github.com/nomad-mystic/test-actions/runs/1434434458?check_suite_focus=true
Git Repo: https://github.com/nomad-mystic/test-actions/

Expected behavior
GITHUB_ENV variable should be part of the node process.env object when using the @actions/core module.

Screenshots
11_20_2020 Testing commit 1 by nomad-mystic · Pull Request #1 · nomad-mystic:test-actions

Github actions environment:

  • runs-on: ubuntu-latest
  • matrix: node_version: [14]
  • uses actions/checkout@v2

Additional context
If there is something I'm missing here, pointers would be appreciated.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions