bitrise-steplib / bitrise-step-flutter-build

MIT License
7 stars 14 forks source link

None of the environment variables are being exported #15

Closed humblerookie closed 3 years ago

humblerookie commented 4 years ago

I've included this step, post apk generation I echo'ed for the output environment variables but none of them seem set and a subsequent step that depends on this environment variable was also failing.

$BITRISE_APK_PATH is not set and neither are the $BITRISE_APK_PATH_LIST and other variables. I'm using the 0.12.0 version.

What am I missing? Do let me know if you need more info

bitce commented 4 years ago

Hi @humblerookie!

Sorry to hear about this. Can you please send us an URL for a build where this is happening?

humblerookie commented 4 years ago

@bitce This was the build https://app.bitrise.io/build/540cadc3284caa3a#?tab=log I had to add a custom step after the build that explicitly exported the environment var of BITRISE_APK_PATH to value of ENV['BITRISE_DEPLOY_DIR']+'/app-release.apk'. Hope this helps.

humblerookie commented 4 years ago

Any updates? @bitce

ghost commented 4 years ago

Hi @humblerookie! Just wanted to let you know that we think this is an issue with the step that may need to be fixed on our end. Our tooling team is currently investigating. Thanks so much for reaching out! 😄

bitce commented 4 years ago

Hi @humblerookie!

Sorry for the huge delay. There has been a lot of changes and improvements since you raised this thread, we wanted to reach out to ask if you can still reproduce the problem? If so, sharing the steps how to would be really useful to us, as we can not at this moment.

humblerookie commented 4 years ago

Hi @bitce , I'll take a look and let you know.

bitce commented 4 years ago

Hi again @humblerookie!

Please do so if you have the time, the development team is looking at the task and we'd like to understand if we have to move forward here.

github-actions[bot] commented 3 years ago

Hello there, I'm a bot. On behalf of the community I thank you for opening this issue.

To help our human contributors focus on the most relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 90 days, so I marked it as stale.

The community would appreciate if you could check if the issue still persists. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me".

If no comment left within 21 days, this issue will be closed.

humblerookie commented 3 years ago

Sorry about the delayed response @bitce. This is working now thank you.