nc not there, install first
This commit is contained in:
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@@ -35,6 +35,8 @@ jobs:
|
|||||||
echo 127.0.0.1 api.notion.com >> /etc/hosts
|
echo 127.0.0.1 api.notion.com >> /etc/hosts
|
||||||
- name: Start a dummy server listening on 443
|
- name: Start a dummy server listening on 443
|
||||||
run: |
|
run: |
|
||||||
|
apt update
|
||||||
|
apt install -y netcat
|
||||||
while true; do
|
while true; do
|
||||||
echo "HTTP/1.1 200 OK\\n\\nHello from dummy server" | nc -l -p 443 -q 1
|
echo "HTTP/1.1 200 OK\\n\\nHello from dummy server" | nc -l -p 443 -q 1
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user