Skip to content

Commit 4cc8835

Browse files
committed
fix: fix workflow
1 parent 413ab66 commit 4cc8835

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 [ "$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 [ "$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 [ "$build_type" == "debug" ]; then
48+
if [ "${{ matrix.build_type }}" == "debug" ]; then
4949
cd out/Debug
5050
else
5151
cd out/Release
@@ -58,7 +58,7 @@ jobs:
5858
if: startsWith(github.ref, 'refs/tags/')
5959
with:
6060
files: |
61-
if [ "$build_type" == "debug" ]; then
61+
if [ "${{ matrix.build_type }}" == "debug" ]; then
6262
out/Debug/node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip
6363
else
6464
out/Release/node-shared-linux-x64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip

0 commit comments

Comments
 (0)