chore: Added workflow for Plugin PRs to create zip for testing#232
Conversation
|
🔗 Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
…ing to make it more simpler and add a .build-sha with the SHA ID
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
…ther plugins can re-use
|
ℹ️ Download the plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
…ugins and pass this as slug for the action.
|
ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
…P install has issues with extracting it.
|
ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
|
nice work! Would it be possible to add the link to the artifact in the comment? And can we have a single comment that's updated or does it have to do it on every push? If not I think this works pretty well, just risks being spammy. |
Description
Fixes #187
This does the following:
Important
We had Github SHA as part of the zip file name but this had to be removed as WP install wouldn't allow this filename.
Important
For any other plugin which wants to use this, they need to ensure composer archive is setup. They can test this locally bu running
composer archive -vvv --format=zip --file="plugin-build/hwp-previews" --dir="."(REPLACE hwp-previews)Related Issue
#187
Dependant PRs
N/A
Type of Change
How Has This Been Tested?
Screenshots
See example comment here -#232 (comment)
Checklist