Import Release from GitHub to PowerPlatform - Pre-Release? #279
Replies: 4 comments 1 reply
-
which GitHub action are you talking about? |
Beta Was this translation helpful? Give feedback.
-
Hello @petrochuk, I had to remind myself about this. Through a LOT of trial and error I was able to alter your workflows to trigger a different action sequence based on if the user wanted this to be a "Pre-Release" or if it goes straight to Production. If you want I can Post what i did? |
Beta Was this translation helpful? Give feedback.
-
So looking over all of the src code in this repository I realize you are the source of the actual actions not the workflows i was presented. But This may still be useful for you. I basically removed the need to call the "microsoft/powerplatform-actions/import-solution@v0" and the exporting to Managed actions before this and stopped it based on the users selection of "Pre-Release" and "Release" instead of the "Created". This is the original stated "Release Action call":
You will notice that it uses "created". Below is the small alterations i made on that. It became 2 calls instead of 1...
I was able to trigger off the different selections and the difference between the "release-solution-to-prod-with-inputs" and the "release-solution-to-Build-NonManaged" files is the the NonManaged file only utilize enough actions to bring the solution into Test Dev environment and the other is basically the original. |
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing |
Beta Was this translation helpful? Give feedback.
-
I am not sure if I am missing something, but your logic in the Import workflow should look for the "Pre-Release" selection in GutHub releases. If it is selected it should skip importing to the Production Environment. A pre-Release would be released back to Test/Dev for further testing, not released into the Prod Environment.
Am I wrong?
Beta Was this translation helpful? Give feedback.
All reactions