Provider environment from two different files

I trying to insert environment variables coming from two different files, but inserting via array in yml i receive error:

Error:
Configuration error at ‘provider.environment’: must be object

Any idea of how import two files in provider.environment

I trying:

provider:
environment:
- ${file(./env/same/environment.yml)}
- ${file(./env/${self:provider.stage}/environment.yml)}

One similar topic without solution I found is: Multiple files as environment variables

Screenshot from 2022-12-01 15-12-07