-
Hey, I'm really new the CI/CD and GitHub actions. I'm trying to run the workflow but there are properties I'm missing info for, and looking through the wiki there's no explanation on what they are. Can you explain what 'metadataConfig,' 'testDataConfig.' and 'artifactConfig' are for and how to configure them? Also, it there a way to set up the workflow to run on push? I saw it with GameCI's workflow but no idea how to implement it here. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hello! For the first part:The short answer is: use the ci-cd-dispatcher.yml instead of the ci-cd-pipeline.yml. It's mostly just intended to replace or add custom workflows if you need that. The longer answer: And in the The So to sum up, It is currently not intended to be dispatched directly using the As for making it work with pushes:Add You can also make it all branches by using '**' I added this to the wiki: https://github.com/Avalin/Unity-CI-Templates/wiki/Trigger-Architecture-&-Input-Config |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Hello!
For the first part:
The short answer is: use the ci-cd-dispatcher.yml instead of the ci-cd-pipeline.yml. It's mostly just intended to replace or add custom workflows if you need that.
The longer answer:
I understand your confusion, it's sort of a hacky approach to getting all the necessary parameters into the pipeline.
The
ci-cd-dispatcher.yml
workflow has this trigger_ci job:And in the
ci-cd-pipeline.yml
we unpack these nested variables into these outputs:The
ci-cd-dispatcher.yml
calls a workflow-dispatch on theci-cd-pipeline.yml
. Workflow dispatches have a limit to only 10 parameters set by GitHub. In order to circumvent it I used these nested values to get all parameters. I…