File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -279,18 +279,19 @@ jobs:
279
279
steps :
280
280
- uses : actions/checkout@v2
281
281
282
+ - name : Install dependencies (Linux)
283
+ if : ${{ matrix.deps != '' && startsWith(matrix.os, 'ubuntu') }}
284
+ run : sudo apt update -y && sudo apt install -y ${{ matrix.deps }}
285
+
282
286
# Needed for s390x test which runs on a GHCR Docker Ubuntu image.
283
287
- name : Login to GitHub Container Registry
288
+ if : startsWith(matrix.run_under, 'docker')
284
289
uses : docker/login-action@v3
285
290
with :
286
291
registry : ghcr.io
287
292
username : ${{ github.actor }}
288
293
password : ${{ secrets.GITHUB_TOKEN }}
289
294
290
- - name : Install dependencies (Linux)
291
- if : ${{ matrix.deps != '' && startsWith(matrix.os, 'ubuntu') }}
292
- run : sudo apt update -y && sudo apt install -y ${{ matrix.deps }}
293
-
294
295
- name : Activate Docker/QEMU
295
296
if : startsWith(matrix.run_under, 'docker')
296
297
run : docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
You can’t perform that action at this time.
0 commit comments