File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ jobs:
166166 build-addon :
167167 name : build-addon
168168 continue-on-error : false
169- needs : [l10n, rust-32]
169+ needs : [l10n, zip-rules, rust-32]
170170 runs-on : ubuntu-latest
171171 steps :
172172 - name : Checkout code
@@ -176,12 +176,20 @@ jobs:
176176 uses : actions/download-artifact@v4
177177 with :
178178 name : libmathcat_py-32-3.11-win.zip
179+ # download the Rules dir (not part of checkout)
180+ - name : Download 32 bit build
181+ uses : actions/download-artifact@v4
182+ with :
183+ name : Rules.zip
179184 # put things where they belong
180185 - name : Set up addons dir
181186 run : |
182187 unzip libmathcat_py-32-3.11-win.zip
183- mv libmathcat_py.pyd addon/globalPlugins/MathCAT
184- sed 's/^import wx\.xrc/# import wx.xrc/' --in-place "addon/globalPlugins/MathCAT/MathCATgui.py" # fix wx file
188+ mv libmathcat_py.pyd Rules.zip addon/globalPlugins/MathCAT
189+ cd addon/globalPlugins/MathCAT
190+ sed 's/^import wx\.xrc/# import wx.xrc/' --in-place MathCATgui.py" # fix wx file
191+ unzip Rules.zip
192+ rm Rules.zip
185193 # build the addon
186194 - name : Set up Python
187195 uses : actions/setup-python@v4
@@ -195,13 +203,6 @@ jobs:
195203 - name : Run scons to build .addon file
196204 run : |
197205 scons
198- - name : list dirs
199- run : |
200- echo "toplevel dir?"
201- ls
202- echo "...MathCAT dir?"
203- ls addon/globalPlugins/MathCAT
204-
205206 - name : Upload the addon
206207 uses : actions/upload-artifact@v4
207208 with :
You can’t perform that action at this time.
0 commit comments