Skip to content

Commit 54f8939

Browse files
properly separate libwaku from other artifacts
1 parent a8d5243 commit 54f8939

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/release-assets.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ jobs:
7070
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC} -d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}}" V=1 update
7171
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC} -d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}} -d:postgres" CI=false wakunode2
7272
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC} -d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}}" CI=false chat2
73+
tar -cvzf ${{steps.vars.outputs.waku}} ./build/
74+
7375
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC} -d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}} -d:postgres" CI=false libwaku
7476
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC} -d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}} -d:postgres" CI=false STATIC=1 libwaku
7577
76-
tar -cvzf ${{steps.vars.outputs.waku}} ./build/
77-
7878
- name: Create distributable libwaku package
7979
run: |
8080
if [[ "${{ runner.os }}" == "Linux" ]]; then
@@ -100,12 +100,16 @@ jobs:
100100
tar -cvzf ${{steps.vars.outputs.libwaku}} ./build/libwaku.dylib ./build/libwaku.a ./library/libwaku.h
101101
fi
102102
103-
- name: Upload asset
103+
- name: Upload waku artifact
104104
uses: actions/[email protected]
105105
with:
106-
name: libwaku-wakunod2-and-chat2-0.1.0-${{matrix.arch}}-${{runner.os}}
107-
path: |
108-
${{steps.vars.outputs.waku}}
109-
${{steps.vars.outputs.libwaku}}
106+
name: waku-0.1.0-${{ matrix.arch }}-${{ runner.os }}
107+
path: ${{ steps.vars.outputs.waku }}
108+
if-no-files-found: error
110109

110+
- name: Upload libwaku artifact
111+
uses: actions/[email protected]
112+
with:
113+
name: libwaku-0.1.0-${{ matrix.arch }}-${{ runner.os }}
114+
path: ${{ steps.vars.outputs.libwaku }}
111115
if-no-files-found: error

0 commit comments

Comments
 (0)