cardinalby/export-env-action
Exports .env file variables to job env
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 6, 2026
- Maintenance Recency
- Activelast commit Apr 14, 2026
- License
- MIT
Pinned Snippet
uses: cardinalby/export-env-action@66657b34899a2d695434ed060d9f2215db9b4035 # 2.2.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| envFile | Path to .env file or Path to multiple .env files concatenated by `|` | yes | — |
| filter | Filter regexp to only export specific variables matching the filter | no | — |
| expand | Substitute ${VAR} references by values of correspondent vars | no | false |
| expandWithJobEnv | Use step env for expanding ${VAR} references | no | false |
| export | Export variables to a job environment. If `false`, all variables will be set as an action outputs instead. | no | true |
| mask | Mask all result values (after expanding) as secrets | no | false |
Outputs
no outputs