This file allows you to create a GitHub Actions workflow that can be triggered manually. When triggered, this workflow will run the Ampersand Patch Helper for you. The files generated are compatible with the Magento 2 Upgrade GUI.
It will save you the hassle of having 2 vendor folders (and PHPStorm indexing both 🫨), installing the Ampersand Patch Helper locally, and executing all related commands.
- Place the
create-patch-helper-files.ymlin your.github/workflowsfolder. - Commit the file to your repository.
- When this file becomes available in your master/main branch, you are done!
- On your local machine, execute the Magento update through Composer. Update whatever is required (extensions, themes, etc). Push this branch to GitHub.
- Open your repository and go to
Actions > Create patch helper files. ClickRun Workflowand select your new branch.
3. A new job is added to the queue (you might need to refresh to see it). Wait until the job finishes.
4. When the job is done, open the summary. Here you can download the artifact that contains your files.
- Extract the files and inspect the contents of
patch-helper-output.txt. - Extract the files and place them in your project. Open Magento 2 Upgrade GUI and point it to your project. You might also need to extract the
vendor.tar.gzandvendor_orig.tar.gzfiles too.