Skip to content

About

Inject environment variables into eas.json file Github action

Resources

Stars

4 stars

Watchers

1 watching

Forks

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

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

sebous/eas-inject-env-action

Tests

GitHub Action for injecting environment variables or secrets into eas.json file before running eas submit command.

Inputs

Required

  • eas_env: environment in eas.json file found under the build property. Example production
  • eas_json_path: path to eas.json file. Example ./eas.json
  • env_vars: An (optionally) multi-line string containing environment variable definitions in the form NAME=value.

Examples

Single value

- uses: sebous/eas-inject-env-action
  with:
    eas_env: production
    eas_json_path: ./eas.json
    env_vars: API_KEY=123 

Multiple values

- uses: sebous/eas-inject-env-action
  with:
    eas_env: staging
    eas_json_path: ./eas.json
    env_vars: |- 
      API_KEY=${{ env.API_KEY }}
      ENV=production
      SECRET=${{ secrets.SECRET }} 

About

Inject environment variables into eas.json file Github action

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages