Skip to content

Commit 834e90d

Browse files
authored
Merge pull request #9271 from oech3/cleanup-con
CICD.yml: Remove if for .exe
2 parents 73d1bce + 21c219a commit 834e90d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/CICD.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,13 +1263,8 @@ jobs:
12631263
- name: Verify stub binaries exist
12641264
shell: bash
12651265
run: |
1266-
if [ "${{ runner.os }}" = "Windows" ]; then
1267-
test -f target/debug/chcon.exe
1268-
test -f target/debug/runcon.exe
1269-
else
1270-
test -f target/debug/chcon
1271-
test -f target/debug/runcon
1272-
fi
1266+
test -f target/debug/chcon || test -f target/debug/chcon.exe
1267+
test -f target/debug/runcon || test -f target/debug/runcon.exe
12731268
- name: Verify workspace builds with stubs
12741269
run: cargo build --features ${{ matrix.job.features }}
12751270

0 commit comments

Comments
 (0)