Skip to content

Default Environment

Actions
Populates the env context with the default environment variables
v1.0.1
Latest
Star (1)

Default Environment

A github action that populates the workflow context env map with the default environment variables available in all environments.

After running this action, each subsequent step will have access to these variables through the env context.

Usage

Basic:

- uses: Actions-R-Us/default-env@v1

To modify the values of the environment variables seen by this action, modify the env map of this action.

- uses: Actions-R-Us/default-env@v1
  env:
    GITHUB_ACTOR: 'github'
    GITHUB_REF: 'master'

After running this action, the environment variables specified will replace the default ones

Default Environment is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Populates the env context with the default environment variables
v1.0.1
Latest

Default Environment is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.