The instant cloud flow is to get a flow >> compose file name>> compose flow definition >> compose file connector references>> upload this file to github
Now, which github action to use to upload to file? And how to use it?
Hi,
To save a file from Power Automate to GitHub, you can use GitHub Actions. Here are the steps you can follow:
Create a new GitHub repository: If you haven’t already, create a new repository on GitHub where you want to store the file.
Create a workflow: Create a new workflow using GitHub Actions for Microsoft Power Platform. The workflow can automatically export your file from Power Automate and upload it to your GitHub repository. This tutorial provides a detailed guide on how to create a workflow 1.
Configure the workflow: Update the name of the YAML file to “Export Solution from Dev”. Remove the pre-created content, paste the content from the “export-and-branch-solution-with-spn-auth.yml” file, and then rename the file to “export-and-branch-solution.yml”. Update the <ENVIRONMENTURL> with the URL for the development environment you want to export from. Update the <APPID> and <TENANT ID> with your values. If you are using credentials, paste the “export-and-branch-solution.yml” file instead of the “export-and-branch-solution-with-spn-auth.yml” file contents. Update the <USERNAME> with the username you are using to connect to the environment 1.
Upload the file: Once the workflow is configured, you can upload the file to your GitHub repository by committing it with one of the actions available on Marketplace. Alternatively, you can upload your data as an artifact to your workflow 23.
Gill