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,10 +69,11 @@ jobs:
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
+ cache : ' pip'
76
77
- name : Determine servers
77
78
id : set-servers
78
79
run : |
97
98
matrix :
98
99
image : [ 'quic-network-simulator', 'quic-interop-iperf-endpoint' ]
99
100
steps :
100
- - uses : actions/checkout@v2
101
+ - uses : actions/checkout@v3
101
102
- name : Pull
102
103
run : |
103
104
URL="martenseemann/${{ matrix.image }}"
@@ -110,7 +111,7 @@ jobs:
110
111
docker save $URL | gzip --best > ${{ matrix.image }}.tar.gz
111
112
du -sh ${{ matrix.image }}.tar.gz
112
113
- name : Upload result
113
- uses : actions/upload-artifact@v2
114
+ uses : actions/upload-artifact@v3
114
115
with :
115
116
name : images-tools
116
117
path : ${{ matrix.image }}.tar.gz
@@ -123,7 +124,7 @@ jobs:
123
124
image : ${{ fromJson(needs.config.outputs.images) }}
124
125
name : Pull ${{ matrix.image }}
125
126
steps :
126
- - uses : actions/checkout@v2
127
+ - uses : actions/checkout@v3
127
128
- name : Run docker pull
128
129
run : |
129
130
URL=$(jq -r '.["${{ matrix.image }}"].image' implementations.json)
@@ -137,7 +138,7 @@ jobs:
137
138
docker save $URL | gzip --best > ${{ matrix.image }}.tar.gz
138
139
du -sh ${{ matrix.image }}.tar.gz
139
140
- name : Upload result
140
- uses : actions/upload-artifact@v2
141
+ uses : actions/upload-artifact@v3
141
142
with :
142
143
name : image-${{ matrix.image }}
143
144
path : ${{ matrix.image }}.tar.gz
@@ -153,24 +154,25 @@ jobs:
153
154
client : ${{ fromJson(needs.config.outputs.clients) }}
154
155
name : (${{ matrix.server }} - ${{ matrix.client }})
155
156
steps :
156
- - uses : actions/checkout@v2
157
- - uses : actions/setup-python@v1
157
+ - uses : actions/checkout@v3
158
+ - uses : actions/setup-python@v4
158
159
with :
159
160
python-version : 3.8
161
+ cache : ' pip'
160
162
- name : Enable IPv6 support
161
163
run : sudo modprobe ip6table_filter
162
164
- run : docker image ls
163
165
- name : Download tools Docker images
164
- uses : actions/download-artifact@v2
166
+ uses : actions/download-artifact@v3
165
167
with :
166
168
name : images-tools
167
169
- name : Download ${{ matrix.server }} Docker image
168
- uses : actions/download-artifact@v2
170
+ uses : actions/download-artifact@v3
169
171
with :
170
172
name : image-${{ matrix.server }}
171
173
- name : Download ${{ matrix.client }} Docker image
172
174
if : ${{ matrix.server != matrix.client }}
173
- uses : actions/download-artifact@v2
175
+ uses : actions/download-artifact@v3
174
176
with :
175
177
name : image-${{ matrix.client }}
176
178
- name : Load docker images
@@ -181,7 +183,7 @@ jobs:
181
183
docker load --input ${{ matrix.client }}.tar.gz
182
184
- run : docker image ls
183
185
- name : Download Wireshark
184
- uses : actions/download-artifact@v2
186
+ uses : actions/download-artifact@v3
185
187
with :
186
188
name : wireshark
187
189
path : wireshark
@@ -223,7 +225,7 @@ jobs:
223
225
target : /mnt/logs/${{ needs.config.outputs.logname }}
224
226
strip_components : 1
225
227
- name : Upload result
226
- uses : actions/upload-artifact@v2
228
+ uses : actions/upload-artifact@v3
227
229
with :
228
230
name : results
229
231
path : |
@@ -235,12 +237,13 @@ jobs:
235
237
env :
236
238
LOGNAME : ${{ needs.config.outputs.logname }}
237
239
steps :
238
- - uses : actions/checkout@v2
239
- - uses : actions/setup-python@v1
240
+ - uses : actions/checkout@v3
241
+ - uses : actions/setup-python@v4
240
242
with :
241
243
python-version : 3.8
244
+ cache : ' pip'
242
245
- name : Download results
243
- uses : actions/download-artifact@v2
246
+ uses : actions/download-artifact@v3
244
247
with :
245
248
name : results
246
249
- name : Aggregate results
@@ -254,7 +257,7 @@ jobs:
254
257
- name : Print result
255
258
run : jq '.' result.json
256
259
- name : Upload result to artifacts
257
- uses : actions/upload-artifact@v2
260
+ uses : actions/upload-artifact@v3
258
261
with :
259
262
name : results
260
263
path : result.json
0 commit comments