Skip to content

Commit f1f9659

Browse files
committed
fix:
1 parent 589aad3 commit f1f9659

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.github/workflows/makefile.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,31 @@ jobs:
1818
with:
1919
go-version-file: go.mod
2020

21-
- name: setup client
22-
run: wget https://github.com/vi/websocat/releases/latest/download/websocat.x86_64-unknown-linux-musl && chmod +x websocat.x86_64-unknown-linux-musl
23-
2421
# - name: build using makefile
2522
# run: make websocketd
2623

2724
- name: build websocketd
2825
run: go build
2926

27+
- name: Archive build artifacts
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: websocketd
31+
path: websocketd
32+
33+
test:
34+
needs: build
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- name: Download built websocketd
39+
uses: actions/download-artifact@v4
40+
with:
41+
name: websocketd
42+
43+
- name: setup client
44+
run: wget https://github.com/vi/websocat/releases/latest/download/websocat.x86_64-unknown-linux-musl && chmod +x websocat.x86_64-unknown-linux-musl
45+
3046
- name: test
3147
run: |
3248
./websocketd --port=8080 ./examples/bash/dump-env.sh &

0 commit comments

Comments
 (0)