How to export data from Fastlane to next step in GitHub Actions #27168
-
Hello, I have a GitHub Actions job that contains 2 steps:
In Fastlane I’m getting some data and trying to expose it as ENV variable to be available for the next GA step Fastlane part that I’ve tried:
GH Part that I use
Any ideas how to share data I got inside Fastlane between steps? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Dwite:
I’m not familiar with Fastlane, but this looks like you’re printing most (minus the You need to write the variable in the form |
Beta Was this translation helpful? Give feedback.
-
Thank you for pointing that out. I’ve replaced the echo with sh that executes the command as script, but the result is mostly the same |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the help, indeed this result will work:
|
Beta Was this translation helpful? Give feedback.
-
Hi @Dwite I tried the steps above but I want to add the version to the artifact name name: Myartifact_${{ env.VERSION }} but not work I need to run something before? (run command or other? thanks |
Beta Was this translation helpful? Give feedback.
The
echo
part of the shell command seems to be missing.