Skip to content

Commit 4e7fc9d

Browse files
committed
feat: modify workflow
1 parent dcafd99 commit 4e7fc9d

1 file changed

Lines changed: 20 additions & 9 deletions

File tree

.github/workflows/build_node_shared.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,29 @@ jobs:
2323

2424
- name: Configure and Build
2525
run: |
26-
if [ "$compiler" == "gcc" ]; then
27-
export CC=gcc
28-
export CXX=g++
29-
else
30-
export CC=clang
31-
export CXX=clang++
32-
fi
26+
# if [ "$compiler" == "gcc" ]; then
27+
# export CC=gcc
28+
# export CXX=g++
29+
# else
30+
# export CC=clang
31+
# export CXX=clang++
32+
# fi
3333
34-
./configure --shared
35-
make -j$(nproc)
34+
# ./configure --shared
35+
# make -j$(nproc)
36+
37+
# Mock build
38+
mkdir -p out/Release
39+
# Create a dummy file
40+
touch out/Release/libnode.so.127
3641
3742
- name: Package assets
3843
run: |
3944
cd out/Release
4045
zip node-shared-linux-x64-${{ matrix.compiler }}.zip libnode.so.127
46+
47+
- name: Publish to release assets
48+
uses: softprops/action-gh-release@v2
49+
with:
50+
files: |
51+
out/Release/node-shared-linux-x64-${{ matrix.compiler }}.zip

0 commit comments

Comments
 (0)