Skip to content

Commit b52ded0

Browse files
committed
fix: execute a script
Signed-off-by: felixfaisal <[email protected]>
1 parent 3d3ca70 commit b52ded0

File tree

1 file changed

+4
-51
lines changed

1 file changed

+4
-51
lines changed

.github/workflows/release-binaries.yml

Lines changed: 4 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -17,59 +17,12 @@ jobs:
1717
- name: Toolchain installation
1818
run: sh -c "rustup toolchain install nightly && rustup target add wasm32-unknown-unknown && cargo install wasm-pack"
1919

20-
- name: Build http-auth
21-
run: sh -c "cd http-auth && wasm-pack build --release"
20+
- name: Build binaries
21+
run: sh release-binaries.sh
2222

2323
- uses: actions/upload-artifact@v2
2424
with:
2525
name: http_auth_bg.wasm
26-
path: ./http-auth/pkg/http_auth_bg.wasm
26+
path: ./wasm-filters.tar.gz
2727

28-
- name: Build singleton-http-call
29-
run: sh -c "cd singleton-http-call && wasm-pack build --release"
30-
31-
- uses: actions/upload-artifact@v2
32-
with:
33-
name: singleton_http_call_bg.wasm
34-
path: ./singleton-http-call/pkg/singleton_http_call_bg.wasm
35-
36-
- name: Build tcp-metrics
37-
run: sh -c "cd tcp-metrics && wasm-pack build --release"
38-
39-
- uses: actions/upload-artifact@v2
40-
with:
41-
name: tcp_metrics_bg.wasm
42-
path: ./tcp-metrics/pkg/tcp_metrics_bg.wasm
43-
44-
- name: Build tcp-packet-parse
45-
run: sh -c "cd tcp-packet-parse && wasm-pack build --release"
46-
47-
- uses: actions/upload-artifact@v2
48-
with:
49-
name: tcp_packet_parse_bg.wasm
50-
path: ./tcp-packet-parse/pkg/tcp_packet_parse_bg.wasm
51-
52-
- name: Build metrics-collector
53-
run: sh -c "cd metrics-store/metrics-collector && wasm-pack build --release"
54-
55-
- name: Build singleton-queue
56-
run: sh -c "cd metrics-store/singleton-queue && wasm-pack build --release"
57-
58-
- uses: actions/upload-artifact@v2
59-
with:
60-
name: metrics_collector_bg.wasm
61-
path: ./metrics-store/metrics-collector/pkg/metrics_collector_bg.wasm
62-
63-
- uses: actions/upload-artifact@v2
64-
with:
65-
name: singleton_queue_bg.wasm
66-
path: ./metrics-store/singleton-queue/pkg/singleton_queue_bg.wasm
67-
68-
69-
- name: Build JWTManipulator9000
70-
run: sh -c "cd JWTManipulator9000 && wasm-pack build --release"
71-
72-
- uses: actions/upload-artifact@v2
73-
with:
74-
name: jwt_filter_bg.wasm
75-
path: ./JWTManipulator9000/pkg/jwt_filter_bg.wasm
28+

0 commit comments

Comments
 (0)