Skip to content

Commit ee39d2c

Browse files
committed
make artifacts executable
Signed-off-by: Alex Goodman <[email protected]>
1 parent c1ddbdb commit ee39d2c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/validations.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ jobs:
122122
name: snapshot
123123
path: snapshot
124124

125+
- name: Restore binary permissions
126+
run: chmod +x snapshot/*/syft snapshot/*/*.exe 2>/dev/null || true
127+
125128
- name: Run comparison tests (Linux)
126129
run: make compare-linux
127130

@@ -163,6 +166,9 @@ jobs:
163166
name: snapshot
164167
path: snapshot
165168

169+
- name: Restore binary permissions
170+
run: chmod +x snapshot/*/syft 2>/dev/null || true
171+
166172
- name: Run comparison tests (Mac)
167173
run: make compare-mac
168174

@@ -194,5 +200,8 @@ jobs:
194200
name: snapshot
195201
path: snapshot
196202

203+
- name: Restore binary permissions
204+
run: chmod +x snapshot/*/syft snapshot/*/*.exe 2>/dev/null || true
205+
197206
- name: Run CLI Tests (Linux)
198207
run: make cli

0 commit comments

Comments
 (0)