Skip to content

Commit 10003dd

Browse files
committed
fix workflow for 64 bit build
1 parent d59bdc4 commit 10003dd

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/automaticRelease.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ jobs:
8282

8383
rust-32:
8484
name: build addon (and 32-bit windows pyd file)
85-
needs: l10n
8685
runs-on: windows-latest # needs to run on windows because no 32-bit python on linux
8786
steps:
8887
- name: Checkout code
@@ -129,10 +128,7 @@ jobs:
129128
cargo build --target x86_64-unknown-linux-gnu --release
130129
- name: Setup Example dir
131130
run: |
132-
ls -l target
133-
ls -l target/x86_64-unknown-linux-gnu
134-
ls -l target/x86_64-unknown-linux-gnu/release
135-
cp target/x86_64-unknown-linux-gnu/release/libmathcat_py.dll Example/libmathcat_py.pyd
131+
cp target/x86_64-unknown-linux-gnu/release/liblibmathcat_py.so Example
136132
cp -r addon/globalPlugins/MathCAT/Rules Example
137133
- name: test build
138134
run: |
@@ -144,7 +140,7 @@ jobs:
144140
type: 'zip'
145141
filename: '../libmathcat_py-64-3.11-linux.zip'
146142
directory: 'Example'
147-
path: 'libmathcat_py.pyd'
143+
path: 'liblibmathcat_py.so'
148144
# build the test after zipping up "Rules" because the test will unzip the files needed for the test
149145
#
150146
# - name: test build
@@ -163,7 +159,7 @@ jobs:
163159
pre-release:
164160
name: Pre Release
165161
continue-on-error: false
166-
needs: [rust-64, rust-32]
162+
needs: [l10n, rust-64, rust-32]
167163
runs-on: ubuntu-latest
168164
steps:
169165
- name: Checkout code

0 commit comments

Comments
 (0)