Skip to content

Commit

Permalink
fix: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxilin committed Jan 10, 2025
1 parent 4cc8835 commit b2478a4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_node_shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:

- name: Configure and Build
run: |
if [ "${{ matrix.compiler }}" == "gcc" ]; then
if [[ "${{ matrix.compiler }}" == "gcc" ]]; then
export CC=gcc
export CXX=g++
else
export CC=clang
export CXX=clang++
fi
if [ "${{ matrix.build_type }}" == "debug" ]; then
if [[ "${{ matrix.build_type }}" == "debug" ]]; then
./configure --shared --debug
else
./configure --shared
Expand All @@ -51,7 +51,10 @@ jobs:
cd out/Release
fi
zip node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip libnode.so.127
# rename the file libnode.so.127 to libnode.so
mv libnode.so.127 libnode.so
zip node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip libnode.so
- name: Publish to release assets
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit b2478a4

Please sign in to comment.