Skip to content

Commit 903e05c

Browse files
committed
fix: fix workflow
1 parent b2478a4 commit 903e05c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_node_shared.yml

Lines changed: 4 additions & 4 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
@@ -45,7 +45,7 @@ jobs:
4545
- name: Package assets
4646
if: startsWith(github.ref, 'refs/tags/')
4747
run: |
48-
if [ "${{ matrix.build_type }}" == "debug" ]; then
48+
if [ "${{ matrix.build_type }}" = "debug" ]; then
4949
cd out/Debug
5050
else
5151
cd out/Release
@@ -61,7 +61,7 @@ jobs:
6161
if: startsWith(github.ref, 'refs/tags/')
6262
with:
6363
files: |
64-
if [ "${{ matrix.build_type }}" == "debug" ]; then
64+
if [ "${{ matrix.build_type }}" = "debug" ]; then
6565
out/Debug/node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip
6666
else
6767
out/Release/node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip

0 commit comments

Comments
 (0)