I’m not an app developer or experienced user of workflows, so take this with grain of salt because this might not make any sense to you at all and I might be making things up:
Wouldn’t it be easier if some highle skilled invidual or community would create a do-it-all script to handle the building you clone in your workflow and this way you would always have proper and up to date way of building your apps with advanced features, even if you ain’t that skilled developer? The script could also have all kinds of additional features you could call with arguments to have more advanced functionality to the building process if you need them.
For the start the script could for example handle the building, packaging and releasing, the workflow would need only 2 steps. Something like this (I added args to show how they would be added if needed, just drop the whole with: -part if you don’t need them):
steps:
- name: Clone project
uses: actions/checkout@v1
- name: Build project
uses: coderus/awesome-building-script@master
with:
args: -a 2.0 -b 1 -c 0
And community could make pull-requests to add all kinds of features they need and bug fixes to the script for everyone to benefit from.