Skip to content

Commit 5dc8777

Browse files
committed
Fixed Error checking in yml
Sometimes installing dependencies dont work for some reason 🤷🏻‍♂️
1 parent 68b9240 commit 5dc8777

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

.github/workflows/Submit-To-SignPath.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,17 @@ jobs:
2121

2222
- name: Install Visual Studio 2022 dependencies
2323
run: |
24-
choco install visualstudio2022-workload-manageddesktop -y || exit 1
25-
choco install visualstudio2022-workload-nativedesktop -y || exit 1
26-
choco install visualstudio2022-workload-vctools -y || exit 1
27-
choco install windowsdriverkit11 -y || exit 1
24+
choco install visualstudio2022-workload-manageddesktop -y
25+
if ($LASTEXITCODE -ne 0) { exit 1 }
26+
27+
choco install visualstudio2022-workload-nativedesktop -y
28+
if ($LASTEXITCODE -ne 0) { exit 1 }
29+
30+
choco install visualstudio2022-workload-vctools -y
31+
if ($LASTEXITCODE -ne 0) { exit 1 }
32+
33+
choco install windowsdriverkit11 -y
34+
if ($LASTEXITCODE -ne 0) { exit 1 }
2835
2936
- name: Build the driver
3037
run: |

.github/workflows/compile.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,17 @@ jobs:
2525

2626
- name: Install Visual Studio 2022 dependencies
2727
run: |
28-
choco install visualstudio2022-workload-manageddesktop -y || exit 1
29-
choco install visualstudio2022-workload-nativedesktop -y || exit 1
30-
choco install visualstudio2022-workload-vctools -y || exit 1
31-
choco install windowsdriverkit11 -y || exit 1
28+
choco install visualstudio2022-workload-manageddesktop -y
29+
if ($LASTEXITCODE -ne 0) { exit 1 }
30+
31+
choco install visualstudio2022-workload-nativedesktop -y
32+
if ($LASTEXITCODE -ne 0) { exit 1 }
33+
34+
choco install visualstudio2022-workload-vctools -y
35+
if ($LASTEXITCODE -ne 0) { exit 1 }
36+
37+
choco install windowsdriverkit11 -y
38+
if ($LASTEXITCODE -ne 0) { exit 1 }
3239
3340
- name: Build the driver
3441
run: |

0 commit comments

Comments
 (0)