Skip to content

Commit ffc405d

Browse files
committed
fix workflow for 64 bit build
1 parent 719ac21 commit ffc405d

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/automaticRelease.yaml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,14 @@ 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-
# build the test after zipping up "Rules" because the test will unzip the files needed for the test
49+
- name: create rules.zip
50+
uses: thedoctor0/zip-release@0.7.5
51+
with:
52+
type: 'zip'
53+
filename: '../Rules.zip'
54+
directory: 'Example'
55+
path: 'Rules'
56+
# build the test after zipping up "Rules" because the test will unzip the files needed for the test
5057
- name: test build
5158
run: |
5259
cp target/x86_64-pc-windows-msvc/release/libmathcat_py.dll Example/libmathcat_py.pyd
@@ -55,8 +62,8 @@ jobs:
5562
- name: Upload addons dir
5663
uses: actions/upload-artifact@v4
5764
with:
58-
name: pyd_64
59-
path: Example
65+
name: libmathcat_py-64-3.11.pyd
66+
path: Example/libmathcat_py.pyd
6067
retention-days: 1
6168

6269
rust-32:
@@ -116,12 +123,7 @@ jobs:
116123
cp addon/globalPlugins/MathCAT/libmathcat_py.pyd libmathcat_py-32-3.11.pyd
117124
- name: Download 64 bit build
118125
uses: actions/download-artifact@v4
119-
with:
120-
name: pyd_64
121-
- shell: bash
122-
run: |
123-
ls
124-
cp Example/libmathcat_py.pyd libmathcat_py-64-3.11.pyd
126+
# using the defaults (all artfacts are download) is the desired behavior
125127
- name: Automatic release
126128
uses: marvinpinto/action-automatic-releases@latest
127129
with:
@@ -133,3 +135,4 @@ jobs:
133135
*.nvda-addon
134136
libmathcat_py-32-3.11.pyd
135137
libmathcat_py-64-3.11.pyd
138+
Rules.zip

0 commit comments

Comments
 (0)