It should be possible to migrate every environment variable defined in TravisCI in that way to GitHub Actions. Instead of ignoring all environment variables, which aren't EMBER_CLI_SCENARIO, we could use a key value map to store them and loop over it in the GitHub Actions creation.
I was going through all Adopted Ember Addons. None of them uses environment variables in a way which would be supported by this feature. Maybe the need for it isn't that high?
So far only
EMBER_CLI_SCENARIO
environment variable is extracted from.travis.yml
configuration and used to generate the GitHub Action CI: https://github.com/jelhan/create-github-actions-setup-for-ember-addon/blob/e518896b9bed309ae419736f4e8f57d76cfa0c69/src/utils/parse-travis-ci-config.ts#L65-L74 https://github.com/jelhan/create-github-actions-setup-for-ember-addon/blob/e518896b9bed309ae419736f4e8f57d76cfa0c69/templates/.github/workflows/ci.yml#L204-L207It should be possible to migrate every environment variable defined in TravisCI in that way to GitHub Actions. Instead of ignoring all environment variables, which aren't
EMBER_CLI_SCENARIO
, we could use a key value map to store them and loop over it in the GitHub Actions creation.We would need to change the configuration used to generate GitHub Actions. https://github.com/jelhan/create-github-actions-setup-for-ember-addon/blob/e518896b9bed309ae419736f4e8f57d76cfa0c69/src/index.ts#L33-L48
Maybe something like this: