Skip to content

Commit 5896a5f

Browse files
committed
fix workflow for 64 bit build
1 parent ffc405d commit 5896a5f

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/automaticRelease.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
- name: Setup Example dir
4747
run: |
4848
cp target/x86_64-pc-windows-msvc/release/libmathcat_py.dll Example/libmathcat_py.pyd
49+
cp -r addon/globalPlugins/MathCAT/Rules Example
4950
- name: create rules.zip
5051
uses: thedoctor0/zip-release@0.7.5
5152
with:
@@ -56,7 +57,6 @@ jobs:
5657
# build the test after zipping up "Rules" because the test will unzip the files needed for the test
5758
- name: test build
5859
run: |
59-
cp target/x86_64-pc-windows-msvc/release/libmathcat_py.dll Example/libmathcat_py.pyd
6060
cd Example
6161
python test.py
6262
- name: Upload addons dir
@@ -65,6 +65,20 @@ jobs:
6565
name: libmathcat_py-64-3.11.pyd
6666
path: Example/libmathcat_py.pyd
6767
retention-days: 1
68+
- name: Upload pyd file
69+
uses: actions/upload-artifact@v4
70+
with:
71+
name: libmathcat_py-64-3.11.pyd
72+
path: Example/libmathcat_py.pyd
73+
compression-level: 0
74+
retention-days: 1
75+
- name: Upload Rules.zip
76+
uses: actions/upload-artifact@v4
77+
with:
78+
name: Rules.zip
79+
path: Rules.zip
80+
compression-level: 0
81+
retention-days: 1
6882

6983
rust-32:
7084
name: build 64-bit pyd file

0 commit comments

Comments
 (0)