File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,14 +46,17 @@ jobs:
4646 - name : Upload plugin bundle
4747 uses : actions/upload-artifact@v4
4848 with :
49- name : plugin bundle
49+ name : plugin- bundle
5050 path : posts-bridge/assets/plugin.bundle.js
5151
52+ - name : Package custom blocks
53+ run : zip -r custom-blocks.zip posts-bridge/custom-blocks -x '*/src/*' -x '*/node_modules/*' -x '*/esbuild/*'
54+
5255 - name : Upload custom blocks
5356 uses : actions/upload-artifact@v4
5457 with :
55- name : custom blocks
56- path : posts-bridge/ custom-blocks/*/build
58+ name : custom- blocks
59+ path : custom-blocks.zip
5760
5861 package :
5962 name : Prepare package
7578 - name : Download build artifact
7679 uses : actions/download-artifact@v4
7780 with :
78- name : build
81+ name : plugin-bundle
7982 path : posts-bridge/assets
8083
84+ - name : Download build artifact
85+ uses : actions/download-artifact@v4
86+ with :
87+ name : custom-blocks
88+ path : custom-blocks.zip
89+
90+ - name : Unpackage custom blocks
91+ run : unzip custom-blocks.zip
92+
8193 - name : Install dist archive
8294 run : wp package install wp-cli/dist-archive-command:@stable
8395
You can’t perform that action at this time.
0 commit comments