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.yml
in your.github/workflows
folder. - 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 Workflow
and select your new branch.
- 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.gz
andvendor_orig.tar.gz
files too.