Skip to content

EAS inject env vars

Actions

About

Inject environment variables into eas.json file
v0.1.0
LatestPre-release
Star (4)

Tags

 (1)

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 }} 

EAS inject env vars is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Inject environment variables into eas.json file
v0.1.0
LatestPre-release

Tags

 (1)

EAS inject env vars is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.