Skip to content

Commit b2478a4

Browse files
committed
fix: fix workflow
1 parent 4cc8835 commit b2478a4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build_node_shared.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626

2727
- name: Configure and Build
2828
run: |
29-
if [ "${{ matrix.compiler }}" == "gcc" ]; then
29+
if [[ "${{ matrix.compiler }}" == "gcc" ]]; then
3030
export CC=gcc
3131
export CXX=g++
3232
else
3333
export CC=clang
3434
export CXX=clang++
3535
fi
3636
37-
if [ "${{ matrix.build_type }}" == "debug" ]; then
37+
if [[ "${{ matrix.build_type }}" == "debug" ]]; then
3838
./configure --shared --debug
3939
else
4040
./configure --shared
@@ -51,7 +51,10 @@ jobs:
5151
cd out/Release
5252
fi
5353
54-
zip node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip libnode.so.127
54+
# rename the file libnode.so.127 to libnode.so
55+
mv libnode.so.127 libnode.so
56+
57+
zip node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip libnode.so
5558
5659
- name: Publish to release assets
5760
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)