blob: 3ce4f1247c534f55db2855b556c570a6ff9dc893 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
name: main
run-name: main
on:
# schedule:
# - cron: '*/5 * * * *'
workflow_dispatch:
jobs:
Do-snapshot:
name: "main"
runs-on: ubuntu-latest
steps:
- name: Run main
run: |
curl -4 ifconfig.me || true
curl -6 ifconfig.me || true
sudo apt-get install -y ncat
ncat -l 12345 --keep-open --exec "/bin/cat" &
ncat -u -l 12345 --keep-open --exec "/bin/cat" &
sudo ss -utanp || true
sleep inf
|