A action for reading DotEnv file and expose the variables as environment variables. Ready to be used by your Github Actions
Example of usage:
- uses: tfso/action-dotenv@v1
- shell: bash
run:
echo ${{ env.MY-VAR-IN-DOTENV-FILE }}
name | required | default | description |
---|---|---|---|
path | false | .env | Path to the DotEnv file |
The output is dynamic related to the structure of the dotenv file