Skip to content

Commit 01979c0

Browse files
committed
fixup! ci: use sudo while running apt on linux
Signed-off-by: Darshan Sen <[email protected]>
1 parent aadda2d commit 01979c0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,16 @@ commands:
4949

5050
- when:
5151
condition:
52-
or:
53-
- equal: [ debian, << parameters.os >> ]
54-
- equal: [ linux, << parameters.os >> ]
52+
equal: [ debian, << parameters.os >> ]
5553
steps:
5654
- run: apt-get update -y && apt-get install -y make
5755

56+
- when:
57+
condition:
58+
equal: [ linux, << parameters.os >> ]
59+
steps:
60+
- run: sudo apt-get update -y && sudo apt-get install -y make
61+
5862
- when:
5963
condition:
6064
not:

0 commit comments

Comments
 (0)