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 b2478a4 commit 903e05c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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 @@ -45,7 +45,7 @@ jobs:
- name: Package assets
if: startsWith(github.ref, 'refs/tags/')
run: |
if [ "${{ matrix.build_type }}" == "debug" ]; then
if [ "${{ matrix.build_type }}" = "debug" ]; then
cd out/Debug
else
cd out/Release
Expand All @@ -61,7 +61,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
if [ "${{ matrix.build_type }}" == "debug" ]; then
if [ "${{ matrix.build_type }}" = "debug" ]; then
out/Debug/node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip
else
out/Release/node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip
Expand Down

0 comments on commit 903e05c

Please sign in to comment.