File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,15 @@ jobs:
4141 architecture : ' x86'
4242 - name : Set up Rust
4343 run : cargo build --target i686-pc-windows-msvc --release
44- - name : Upload dll to use with scons
44+ - name : Set up addons dir
45+ run : |
46+ cp libmathcat_py.dll addon/globalPlugins/MathCAT/libmathcat.pyd
47+ sed 's/^import wx\.xrc/# import wx.xrc/' --in-place "addon/globalPlugins/MathCAT/MathCATgui.py" # fix wx file
48+ - name : Upload addons dir to use with scons
4549 uses : actions/upload-artifact@v4
4650 with :
47- name : MathCAT_dll
48- path : target/i686-pc-windows-msvc/release/libmathcat_py.dll
51+ name : MathCAT_addons
52+ path : addon/globalPlugins/MathCAT
4953 retention-days : 1
5054
5155 pre-release :
@@ -60,14 +64,13 @@ jobs:
6064 uses : actions/setup-python@v4
6165 with :
6266 python-version : 3.11
63- - name : Download MathCAT dll
67+ - name : Download MathCAT addons dir
6468 uses : actions/download-artifact@v4
6569 with :
66- name : MathCAT_dll
70+ name : MathCAT_addons
6771 - shell : bash
6872 run : |
69- cp libmathcat_py.dll addon/globalPlugins/MathCAT/libmathcat.pyd
70- sed 's/^import wx\.xrc/# import wx.xrc/' --in-place "addon/globalPlugins/MathCAT/MathCATgui.py" # fix wx file
73+ cp -r addons addon/globalPlugins/MathCAT
7174 - name : Install scons dependencies
7275 run : |
7376 pip install scons markdown
You can’t perform that action at this time.
0 commit comments