cardinalby/export-env-action

Exports .env file variables to job env

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Activelast commit Apr 14, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: cardinalby/export-env-action@66657b34899a2d695434ed060d9f2215db9b4035 # 2.2.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
envFilePath to .env file or Path to multiple .env files concatenated by `|`yes
filterFilter regexp to only export specific variables matching the filterno
expandSubstitute ${VAR} references by values of correspondent varsnofalse
expandWithJobEnvUse step env for expanding ${VAR} referencesnofalse
exportExport variables to a job environment. If `false`, all variables will be set as an action outputs instead. notrue
maskMask all result values (after expanding) as secretsnofalse

no outputs