15
15
steps :
16
16
- name : Restore from cache
17
17
id : restore-cache
18
- uses : actions/cache@v2
18
+ uses : actions/cache@v3
19
19
env :
20
20
VERSION : ${{ env.WIRESHARK_CACHEKEY }}
21
21
with :
26
26
run : |
27
27
tar xfz tshark.tar.gz
28
28
./tshark -v
29
- - uses : actions/checkout@v2
29
+ - uses : actions/checkout@v3
30
30
if : steps.restore-cache.outputs.cache-hit != 'true'
31
31
with :
32
32
repository : wireshark/wireshark
44
44
if : steps.restore-cache.outputs.cache-hit != 'true'
45
45
run : tar -czvf tshark.tar.gz -C run/ tshark
46
46
- name : Upload
47
- uses : actions/upload-artifact@v2
47
+ uses : actions/upload-artifact@v3
48
48
with :
49
49
name : wireshark
50
50
path : tshark.tar.gz
69
69
STARTTIME=$(date +%s)
70
70
echo $STARTTIME
71
71
echo "::set-output name=starttime::$STARTTIME"
72
- - uses : actions/checkout@v2
73
- - uses : actions/setup-python@v1
72
+ - uses : actions/checkout@v3
73
+ - uses : actions/setup-python@v4
74
74
with :
75
75
python-version : 3.8
76
76
- name : Determine servers
97
97
matrix :
98
98
image : [ 'quic-network-simulator', 'quic-interop-iperf-endpoint' ]
99
99
steps :
100
- - uses : actions/checkout@v2
100
+ - uses : actions/checkout@v3
101
101
- name : Pull
102
102
run : |
103
103
URL="martenseemann/${{ matrix.image }}"
@@ -110,7 +110,7 @@ jobs:
110
110
docker save $URL | gzip --best > ${{ matrix.image }}.tar.gz
111
111
du -sh ${{ matrix.image }}.tar.gz
112
112
- name : Upload result
113
- uses : actions/upload-artifact@v2
113
+ uses : actions/upload-artifact@v3
114
114
with :
115
115
name : images-tools
116
116
path : ${{ matrix.image }}.tar.gz
@@ -123,7 +123,7 @@ jobs:
123
123
image : ${{ fromJson(needs.config.outputs.images) }}
124
124
name : Pull ${{ matrix.image }}
125
125
steps :
126
- - uses : actions/checkout@v2
126
+ - uses : actions/checkout@v3
127
127
- name : Run docker pull
128
128
run : |
129
129
URL=$(jq -r '.["${{ matrix.image }}"].image' implementations.json)
@@ -137,7 +137,7 @@ jobs:
137
137
docker save $URL | gzip --best > ${{ matrix.image }}.tar.gz
138
138
du -sh ${{ matrix.image }}.tar.gz
139
139
- name : Upload result
140
- uses : actions/upload-artifact@v2
140
+ uses : actions/upload-artifact@v3
141
141
with :
142
142
name : image-${{ matrix.image }}
143
143
path : ${{ matrix.image }}.tar.gz
@@ -153,24 +153,24 @@ jobs:
153
153
client : ${{ fromJson(needs.config.outputs.clients) }}
154
154
name : (${{ matrix.server }} - ${{ matrix.client }})
155
155
steps :
156
- - uses : actions/checkout@v2
157
- - uses : actions/setup-python@v1
156
+ - uses : actions/checkout@v3
157
+ - uses : actions/setup-python@v4
158
158
with :
159
159
python-version : 3.8
160
160
- name : Enable IPv6 support
161
161
run : sudo modprobe ip6table_filter
162
162
- run : docker image ls
163
163
- name : Download tools Docker images
164
- uses : actions/download-artifact@v2
164
+ uses : actions/download-artifact@v3
165
165
with :
166
166
name : images-tools
167
167
- name : Download ${{ matrix.server }} Docker image
168
- uses : actions/download-artifact@v2
168
+ uses : actions/download-artifact@v3
169
169
with :
170
170
name : image-${{ matrix.server }}
171
171
- name : Download ${{ matrix.client }} Docker image
172
172
if : ${{ matrix.server != matrix.client }}
173
- uses : actions/download-artifact@v2
173
+ uses : actions/download-artifact@v3
174
174
with :
175
175
name : image-${{ matrix.client }}
176
176
- name : Load docker images
@@ -181,7 +181,7 @@ jobs:
181
181
docker load --input ${{ matrix.client }}.tar.gz
182
182
- run : docker image ls
183
183
- name : Download Wireshark
184
- uses : actions/download-artifact@v2
184
+ uses : actions/download-artifact@v3
185
185
with :
186
186
name : wireshark
187
187
path : wireshark
@@ -223,7 +223,7 @@ jobs:
223
223
target : /mnt/logs/${{ needs.config.outputs.logname }}
224
224
strip_components : 1
225
225
- name : Upload result
226
- uses : actions/upload-artifact@v2
226
+ uses : actions/upload-artifact@v3
227
227
with :
228
228
name : results
229
229
path : |
@@ -235,12 +235,12 @@ jobs:
235
235
env :
236
236
LOGNAME : ${{ needs.config.outputs.logname }}
237
237
steps :
238
- - uses : actions/checkout@v2
239
- - uses : actions/setup-python@v1
238
+ - uses : actions/checkout@v3
239
+ - uses : actions/setup-python@v4
240
240
with :
241
241
python-version : 3.8
242
242
- name : Download results
243
- uses : actions/download-artifact@v2
243
+ uses : actions/download-artifact@v3
244
244
with :
245
245
name : results
246
246
- name : Aggregate results
@@ -254,7 +254,7 @@ jobs:
254
254
- name : Print result
255
255
run : jq '.' result.json
256
256
- name : Upload result to artifacts
257
- uses : actions/upload-artifact@v2
257
+ uses : actions/upload-artifact@v3
258
258
with :
259
259
name : results
260
260
path : result.json
0 commit comments