Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Actions-R-Us/default-env

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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

About

A github action that populates the workflow `env` map with the default environment variables available in the environment

Topics

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /