Skip to content

Commit 0a484e9

Browse files
committed
add two more steps: copy and sed
1 parent 4bdee7d commit 0a484e9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/automaticRelease.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@ jobs:
4242
- name: Install dependencies
4343
run: |
4444
pip install scons markdown
45-
# sudo apt update
46-
# sudo apt install gettext
4745
pip install python-gettext
4846
- uses: actions/checkout@v3
4947
- name: Set up Rust
5048
run: cargo build --target i686-pc-windows-msvc --release
49+
- name: Copy MathCAT.pyd file
50+
run: cp target/i686-pc-windows-msvc/release/libmathcat_py.dll addon/globalPlugins/MathCAT/libmathcat.pyd
51+
- name: Fix wx file
52+
run: sed 's/^import wx\.xrc/# import wx.xrc/' --in-place "addon/globalPlugins/MathCAT/MathCATgui.py"
5153
- name: Build
5254
run: scons version=${{ github.sha }}
5355
- name: Automatic release

0 commit comments

Comments
 (0)